diff --git a/clang-tools-extra/clangd/quality/model/features.json b/clang-tools-extra/clangd/quality/model/features.json --- a/clang-tools-extra/clangd/quality/model/features.json +++ b/clang-tools-extra/clangd/quality/model/features.json @@ -1,8 +1,84 @@ [ + { + "name": "FilterLength", + "kind": "NUMBER" + }, + { + "name": "IsDeprecated", + "kind": "NUMBER" + }, + { + "name": "IsReservedName", + "kind": "NUMBER" + }, + { + "name": "IsImplementationDetail", + "kind": "NUMBER" + }, + { + "name": "NumReferences", + "kind": "NUMBER" + }, + { + "name": "IsNameInContext", + "kind": "NUMBER" + }, + { + "name": "IsForbidden", + "kind": "NUMBER" + }, + { + "name": "IsInBaseClass", + "kind": "NUMBER" + }, + { + "name": "FileProximityDistance", + "kind": "NUMBER" + }, + { + "name": "SemaFileProximityScore", + "kind": "NUMBER" + }, + { + "name": "SymbolScopeDistance", + "kind": "NUMBER" + }, + { + "name": "SemaSaysInScope", + "kind": "NUMBER" + }, + { + "name": "IsInstanceMember", + "kind": "NUMBER" + }, + { + "name": "HadContextType", + "kind": "NUMBER" + }, + { + "name": "HadSymbolType", + "kind": "NUMBER" + }, + { + "name": "TypeMatchesPreferred", + "kind": "NUMBER" + }, + { + "name": "SymbolCategory", + "kind": "ENUM", + "type": "clang::clangd::SymbolQualitySignals::SymbolCategory", + "header": "Quality.h" + }, { "name": "ContextKind", "kind": "ENUM", "type": "clang::CodeCompletionContext::Kind", "header": "clang/Sema/CodeCompleteConsumer.h" + }, + { + "name": "Scope", + "kind": "ENUM", + "type": "clang::clangd::SymbolRelevanceSignals::AccessibleScope", + "header": "Quality.h" } ] \ No newline at end of file diff --git a/clang-tools-extra/clangd/quality/model/forest.json b/clang-tools-extra/clangd/quality/model/forest.json --- a/clang-tools-extra/clangd/quality/model/forest.json +++ b/clang-tools-extra/clangd/quality/model/forest.json @@ -1,18 +1,382647 @@ [ { "operation": "if_member", - "feature": "ContextKind", + "feature": "Scope", "set": [ - "CCC_DotMemberAccess", - "CCC_ArrowMemberAccess" + "FunctionScope" ], "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.19490671157836914 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1966409683227539 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.19716303050518036 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.19390380382537842 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.18672165274620056 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19101537764072418 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.19326137006282806 + }, + "else": { + "operation": "boost", + "score": 0.1904972642660141 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.19356708228588104 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19339041411876678 + }, + "else": { + "operation": "boost", + "score": 0.18134549260139465 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression", + "CCC_Symbol" + ], + "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, + "then": { + "operation": "boost", + "score": 0.19960644841194153 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1974513977766037 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.1812364161014557 + }, + "else": { + "operation": "boost", + "score": 0.19938328862190247 + } + } + }, + "else": { + "operation": "boost", + "score": 0.19128507375717163 + } + }, + "else": { + "operation": "boost", + "score": 0.1681649535894394 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1880350559949875 + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13941003382205963 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1796962469816208 + }, + "else": { + "operation": "boost", + "score": 0.1463017612695694 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17912934720516205 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.19155219197273254 + }, + "else": { + "operation": "boost", + "score": 0.12757840752601624 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16644348204135895 + }, + "else": { + "operation": "boost", + "score": 0.08537906408309937 + } + } + }, + "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 + } + } + } + }, + "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": 39164.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "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": 15.0, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } + }, + "else": { + "operation": "boost", + "score": 0.19003652036190033 + } + } + }, + "else": { + "operation": "boost", + "score": 0.19338887929916382 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "boost", + "score": 0.19820988178253174 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.0, + "then": { + "operation": "boost", + "score": 0.11883357167243958 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10126110166311264 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.15537779033184052 + }, + "else": { + "operation": "boost", + "score": 0.1120707094669342 + } + }, + "else": { + "operation": "boost", + "score": 0.07043943554162979 + } + }, + "else": { + "operation": "boost", + "score": -0.029176026582717896 + } + }, + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.17946749925613403 + }, + "else": { + "operation": "boost", + "score": 0.1971757709980011 + } + }, + "else": { + "operation": "boost", + "score": 0.18844114243984222 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13251.5, + "then": { + "operation": "boost", + "score": 0.1934083253145218 + }, + "else": { + "operation": "boost", + "score": 0.17645490169525146 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53969.0, + "then": { + "operation": "boost", + "score": 0.16778776049613953 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22760.0, + "then": { + "operation": "boost", + "score": 0.19942067563533783 + }, + "else": { + "operation": "boost", + "score": 0.058849334716796875 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7565.0, + "then": { + "operation": "boost", + "score": 0.16682066023349762 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1581292301416397 + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07006686925888062 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16235865652561188 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29003.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.20000000298023224 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34973.5, + "then": { + "operation": "boost", + "score": 0.1964968591928482 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.196255624294281 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.18147854506969452 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.17645478248596191 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11532431095838547 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14387.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.1710679680109024 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1907077133655548 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25967.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.18945801258087158 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.14883801341056824 + } + }, + "else": { + "operation": "boost", + "score": 0.16944599151611328 + } + } + } + }, + "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.19240497052669525 + }, + "else": { + "operation": "boost", + "score": 0.13022984564304352 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.18399521708488464 + }, + "else": { + "operation": "boost", + "score": 0.04004134237766266 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "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": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10822892189025879 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.169729083776474 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.19663546979427338 + }, + "else": { + "operation": "boost", + "score": 0.20000000298023224 + } + }, + "else": { + "operation": "boost", + "score": 0.19007615745067596 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02374824322760105 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.16003981232643127 + }, + "else": { + "operation": "boost", + "score": 0.08869394659996033 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11989353597164154 + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.17337575554847717 + }, + "else": { + "operation": "boost", + "score": 0.1737491637468338 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.17430360615253448 + }, + "else": { + "operation": "boost", + "score": 0.1701635867357254 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.17624247074127197 + }, + "else": { + "operation": "boost", + "score": 0.17310509085655212 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.17246198654174805 + }, + "else": { + "operation": "boost", + "score": 0.17261411249637604 + } + }, + "else": { + "operation": "boost", + "score": 0.17343756556510925 + } + }, + "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 + } + } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.17326954007148743 + }, + "else": { + "operation": "boost", + "score": 0.1737867146730423 + } + }, + "else": { + "operation": "boost", + "score": 0.17454893887043 + } + }, + "else": { + "operation": "boost", + "score": 0.1758958250284195 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.17255648970603943 + }, + "else": { + "operation": "boost", + "score": 0.17316369712352753 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.19855864346027374 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.17291121184825897 + }, + "else": { + "operation": "boost", + "score": 0.17291247844696045 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15596485137939453 + }, + "else": { + "operation": "boost", + "score": 0.16817651689052582 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.17330165207386017 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.17353059351444244 + }, + "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.17320981621742249 + }, + "else": { + "operation": "boost", + "score": -0.21612565219402313 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1741439253091812 + }, + "else": { + "operation": "boost", + "score": 0.17337153851985931 + } + }, + "else": { + "operation": "boost", + "score": 0.16773080825805664 + } + }, + "else": { + "operation": "boost", + "score": 0.17427003383636475 + } + }, + "else": { + "operation": "boost", + "score": 0.17291150987148285 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.17314593493938446 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.17347964644432068 + }, + "else": { + "operation": "boost", + "score": 0.17065733671188354 + } + }, + "else": { + "operation": "boost", + "score": 0.1732175201177597 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.17604026198387146 + }, + "else": { + "operation": "boost", + "score": 0.1645597219467163 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.16513392329216003 + }, + "else": { + "operation": "boost", + "score": 0.17407502233982086 + } + }, + "else": { + "operation": "boost", + "score": 0.14251558482646942 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.17490559816360474 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17632494866847992 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17855599522590637 + }, + "else": { + "operation": "boost", + "score": 0.17002902925014496 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.17688049376010895 + }, + "else": { + "operation": "boost", + "score": 0.17219942808151245 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.16945746541023254 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "boost", + "score": 0.17060332000255585 + }, + "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_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.17378398776054382 + }, + "else": { + "operation": "boost", + "score": -0.023468395695090294 + } + }, + "else": { + "operation": "boost", + "score": 0.12939397990703583 + } + }, + "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 + } + }, + "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 + } + } + }, + "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.17324240505695343 + }, + "else": { + "operation": "boost", + "score": 0.17062316834926605 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.17322403192520142 + }, + "else": { + "operation": "boost", + "score": 0.1704479157924652 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.0, + "then": { + "operation": "boost", + "score": 0.11091062426567078 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71477.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1769794523715973 + }, + "else": { + "operation": "boost", + "score": 0.17356960475444794 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.16608966886997223 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015926558524370193 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1745089441537857 + }, + "else": { + "operation": "boost", + "score": 0.1728890836238861 + } + }, + "else": { + "operation": "boost", + "score": 0.1715085506439209 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14575.5, + "then": { + "operation": "boost", + "score": 0.16906525194644928 + }, + "else": { + "operation": "boost", + "score": 0.17466290295124054 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.1732603907585144 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.16182368993759155 + }, + "else": { + "operation": "boost", + "score": 0.17229099571704865 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16791237890720367 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.17410777509212494 + }, + "else": { + "operation": "boost", + "score": 0.16036351025104523 + } + }, + "else": { + "operation": "boost", + "score": 0.18037068843841553 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.17352263629436493 + }, + "else": { + "operation": "boost", + "score": 0.1669362485408783 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17092381417751312 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 272339.5, + "then": { + "operation": "boost", + "score": -0.21662120521068573 + }, + "else": { + "operation": "boost", + "score": 0.17256052792072296 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16782434284687042 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "boost", + "score": 0.17359310388565063 + }, + "else": { + "operation": "boost", + "score": 0.16533489525318146 + } + }, + "else": { + "operation": "boost", + "score": 0.1483503133058548 + } + }, + "else": { + "operation": "boost", + "score": 0.142983078956604 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_Symbol" + ], + "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 + }, + "else": { + "operation": "boost", + "score": -0.04691338539123535 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16018719971179962 + }, + "else": { + "operation": "boost", + "score": 0.17200209200382233 + } + }, + "else": { + "operation": "boost", + "score": 0.09150589257478714 + } + }, + "else": { + "operation": "boost", + "score": 0.06468319892883301 + } + }, + "else": { + "operation": "boost", + "score": -0.14867106080055237 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1680116504430771 + }, + "else": { + "operation": "boost", + "score": 0.17132365703582764 + } + }, + "else": { + "operation": "boost", + "score": 0.16498352587223053 + } + }, + "else": { + "operation": "boost", + "score": 0.16090728342533112 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.16569311916828156 + }, + "else": { + "operation": "boost", + "score": 0.14450734853744507 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.17028427124023438 + }, + "else": { + "operation": "boost", + "score": 0.15663394331932068 + } + }, + "else": { + "operation": "boost", + "score": 0.12320321798324585 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1457093060016632 + }, + "else": { + "operation": "boost", + "score": 0.16139735281467438 + } + }, + "else": { + "operation": "boost", + "score": 0.1157841607928276 + } + }, + "else": { + "operation": "boost", + "score": 0.015689093619585037 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.15317192673683167 + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.15317602455615997 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.15317359566688538 + }, + "else": { + "operation": "boost", + "score": 0.15420271456241608 + } + } + } + }, + "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_Expression" + ], + "then": { + "operation": "boost", + "score": 0.15577512979507446 + }, + "else": { + "operation": "boost", + "score": 0.15294249355793 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.15602850914001465 + }, + "else": { + "operation": "boost", + "score": 0.15127414464950562 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1554240733385086 + }, + "else": { + "operation": "boost", + "score": 0.15578675270080566 + } + }, + "else": { + "operation": "boost", + "score": 0.14723962545394897 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.15171724557876587 + }, + "else": { + "operation": "boost", + "score": 0.15232104063034058 + } + }, + "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": 8.5, + "then": { + "operation": "boost", + "score": 0.1519402116537094 + }, + "else": { + "operation": "boost", + "score": 0.1522359997034073 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.15253235399723053 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1529807597398758 + }, + "else": { + "operation": "boost", + "score": 0.15350398421287537 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.15348170697689056 + }, + "else": { + "operation": "boost", + "score": 0.15245933830738068 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.15213657915592194 + }, + "else": { + "operation": "boost", + "score": 0.15281736850738525 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16422174870967865 + }, + "else": { + "operation": "boost", + "score": 0.15230441093444824 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13360466063022614 + }, + "else": { + "operation": "boost", + "score": 0.1470935344696045 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.1531250774860382 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.15331867337226868 + }, + "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.15306656062602997 + }, + "else": { + "operation": "boost", + "score": -0.17003124952316284 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.15372532606124878 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1525854766368866 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1541382372379303 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14729280769824982 + } + } + }, + "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": 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, + "then": { + "operation": "boost", + "score": 0.14275619387626648 + }, + "else": { + "operation": "boost", + "score": 0.15277829766273499 + } + }, + "else": { + "operation": "boost", + "score": 0.13419175148010254 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05818425863981247 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.15440858900547028 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15589550137519836 + }, + "else": { + "operation": "boost", + "score": 0.15205639600753784 + } + } + } + }, + "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.14375853538513184 + }, + "else": { + "operation": "boost", + "score": 0.15099488198757172 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.15392696857452393 + }, + "else": { + "operation": "boost", + "score": 0.1463538259267807 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14489485323429108 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.14887729287147522 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "boost", + "score": 0.15000200271606445 + }, + "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_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.15261690318584442 + }, + "else": { + "operation": "boost", + "score": -0.025341924279928207 + } + }, + "else": { + "operation": "boost", + "score": 0.10738515853881836 + } + }, + "else": { + "operation": "boost", + "score": 0.12259086221456528 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14492595195770264 + }, + "else": { + "operation": "boost", + "score": 0.1077888011932373 + } + }, + "else": { + "operation": "boost", + "score": -0.023120582103729248 + } + } + }, + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1534944474697113 + }, + "else": { + "operation": "boost", + "score": 0.13733433187007904 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.15768545866012573 + }, + "else": { + "operation": "boost", + "score": 0.15815381705760956 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.15027429163455963 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.15296070277690887 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32947.0, + "then": { + "operation": "boost", + "score": 0.14598707854747772 + }, + "else": { + "operation": "boost", + "score": 0.15252520143985748 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1484561562538147 + } + }, + "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": 44558.0, + "then": { + "operation": "boost", + "score": 0.15187300741672516 + }, + "else": { + "operation": "boost", + "score": 0.1478295773267746 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.15456295013427734 + }, + "else": { + "operation": "boost", + "score": 0.14638036489486694 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "boost", + "score": 0.15341731905937195 + }, + "else": { + "operation": "boost", + "score": 0.1430397480726242 + } + }, + "else": { + "operation": "boost", + "score": 0.13003091514110565 + } + }, + "else": { + "operation": "boost", + "score": 0.12651492655277252 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14519371092319489 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword" + ], + "then": { + "operation": "boost", + "score": 0.14614371955394745 + }, + "else": { + "operation": "boost", + "score": -0.042912911623716354 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.15117259323596954 + }, + "else": { + "operation": "boost", + "score": 0.14126671850681305 + } + }, + "else": { + "operation": "boost", + "score": 0.13293802738189697 + } + }, + "else": { + "operation": "boost", + "score": 0.15072451531887054 + } + }, + "else": { + "operation": "boost", + "score": 0.08174923062324524 + } + }, + "else": { + "operation": "boost", + "score": 0.06670891493558884 + } + }, + "else": { + "operation": "boost", + "score": -0.12929807603359222 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.14946569502353668 + }, + "else": { + "operation": "boost", + "score": 0.1442311406135559 + } + }, + "else": { + "operation": "boost", + "score": 0.1397087275981903 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.14728130400180817 + }, + "else": { + "operation": "boost", + "score": 0.1333698034286499 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08637681603431702 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1408766806125641 + }, + "else": { + "operation": "boost", + "score": 0.1288900077342987 + } + }, + "else": { + "operation": "boost", + "score": 0.09359957277774811 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13500459492206573 + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.14007402956485748 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1400330662727356 + }, + "else": { + "operation": "boost", + "score": 0.14104515314102173 + } + } + } + }, + "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_Expression" + ], + "then": { + "operation": "boost", + "score": 0.14246340095996857 + }, + "else": { + "operation": "boost", + "score": 0.13945113122463226 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.14273522794246674 + }, + "else": { + "operation": "boost", + "score": 0.13753847777843475 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14205971360206604 + }, + "else": { + "operation": "boost", + "score": 0.14235177636146545 + } + }, + "else": { + "operation": "boost", + "score": 0.13323968648910522 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.13842129707336426 + }, + "else": { + "operation": "boost", + "score": 0.1387948989868164 + } + }, + "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.1386069655418396 + }, + "else": { + "operation": "boost", + "score": 0.13913476467132568 + } + }, + "else": { + "operation": "boost", + "score": 0.13984139263629913 + } + }, + "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.1493874490261078 + }, + "else": { + "operation": "boost", + "score": 0.14096632599830627 + } + }, + "else": { + "operation": "boost", + "score": 0.1396404206752777 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.13878387212753296 + }, + "else": { + "operation": "boost", + "score": 0.13955152034759521 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.147449791431427 + }, + "else": { + "operation": "boost", + "score": 0.1388057917356491 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11920511722564697 + }, + "else": { + "operation": "boost", + "score": 0.1332419514656067 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.14001788198947906 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.14024963974952698 + }, + "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.14000371098518372 + }, + "else": { + "operation": "boost", + "score": -0.1511009931564331 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.14044947922229767 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1394117921590805 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.14069515466690063 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13873818516731262 + }, + "else": { + "operation": "boost", + "score": 0.12925834953784943 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.13240015506744385 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13995224237442017 + }, + "else": { + "operation": "boost", + "score": -0.13556377589702606 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1047670841217041 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.14205621182918549 + }, + "else": { + "operation": "boost", + "score": 0.13921941816806793 + } + } + } + }, + "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.13109348714351654 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.13852109014987946 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.1382957249879837 + }, + "else": { + "operation": "boost", + "score": 0.13064886629581451 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12273220717906952 + } + } + }, + "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 + } + } + }, + "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": 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.13515400886535645 + }, + "else": { + "operation": "boost", + "score": 0.13391391932964325 + } + }, + "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.14370915293693542 + }, + "else": { + "operation": "boost", + "score": 0.14514359831809998 + } + }, + "else": { + "operation": "boost", + "score": 0.13187694549560547 + } + }, + "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_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0064874859526753426 + } + }, + "else": { + "operation": "boost", + "score": 0.07833457738161087 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.14040866494178772 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13228850066661835 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13150641322135925 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014083558693528175 + } + } + } + }, + "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.14055079221725464 + }, + "else": { + "operation": "boost", + "score": 0.13916859030723572 + } + }, + "else": { + "operation": "boost", + "score": 0.13644802570343018 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.13908839225769043 + }, + "else": { + "operation": "boost", + "score": 0.13555167615413666 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.14013774693012238 + }, + "else": { + "operation": "boost", + "score": 0.12266506254673004 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1430511772632599 + }, + "else": { + "operation": "boost", + "score": 0.14338044822216034 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1396746188402176 + }, + "else": { + "operation": "boost", + "score": 0.13625271618366241 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.13964812457561493 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.12352121621370316 + }, + "else": { + "operation": "boost", + "score": 0.13894690573215485 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1354111284017563 + } + }, + "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": 44558.0, + "then": { + "operation": "boost", + "score": 0.13852925598621368 + }, + "else": { + "operation": "boost", + "score": 0.1342065930366516 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.14073248207569122 + }, + "else": { + "operation": "boost", + "score": 0.13301914930343628 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "boost", + "score": 0.13963983952999115 + }, + "else": { + "operation": "boost", + "score": 0.12890000641345978 + } + }, + "else": { + "operation": "boost", + "score": 0.11736571788787842 + } + }, + "else": { + "operation": "boost", + "score": 0.11519037187099457 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13268549740314484 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword" + ], + "then": { + "operation": "boost", + "score": 0.13252533972263336 + }, + "else": { + "operation": "boost", + "score": -0.030122363939881325 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.13715918362140656 + }, + "else": { + "operation": "boost", + "score": 0.12490921467542648 + } + }, + "else": { + "operation": "boost", + "score": 0.1190342977643013 + } + }, + "else": { + "operation": "boost", + "score": 0.13714861869812012 + } + }, + "else": { + "operation": "boost", + "score": 0.07320953905582428 + } + }, + "else": { + "operation": "boost", + "score": 0.0565296895802021 + } + }, + "else": { + "operation": "boost", + "score": -0.11433116346597672 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13565082848072052 + }, + "else": { + "operation": "boost", + "score": 0.1298515349626541 + } + }, + "else": { + "operation": "boost", + "score": 0.12529340386390686 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13346216082572937 + }, + "else": { + "operation": "boost", + "score": 0.11858224868774414 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07406041771173477 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12692956626415253 + }, + "else": { + "operation": "boost", + "score": 0.11520590633153915 + } + }, + "else": { + "operation": "boost", + "score": 0.07967297732830048 + } + } + } + } + } + }, + "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": "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": 7.5, + "then": { + "operation": "boost", + "score": 0.13086006045341492 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1308361440896988 + }, + "else": { + "operation": "boost", + "score": 0.1318577080965042 + } + } + } + }, + "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_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13337181508541107 + }, + "else": { + "operation": "boost", + "score": 0.13028773665428162 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13358084857463837 + }, + "else": { + "operation": "boost", + "score": 0.1284269541501999 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13289424777030945 + }, + "else": { + "operation": "boost", + "score": 0.13312849402427673 + } + }, + "else": { + "operation": "boost", + "score": 0.12417889386415482 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.12896430492401123 + }, + "else": { + "operation": "boost", + "score": 0.12927161157131195 + } + }, + "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": 8.5, + "then": { + "operation": "boost", + "score": 0.12900155782699585 + }, + "else": { + "operation": "boost", + "score": 0.12955911457538605 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12992358207702637 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13044822216033936 + }, + "else": { + "operation": "boost", + "score": 0.13090746104717255 + } + } + } + }, + "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.13699834048748016 + }, + "else": { + "operation": "boost", + "score": 0.1315372735261917 + } + }, + "else": { + "operation": "boost", + "score": 0.1300935298204422 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.12930133938789368 + }, + "else": { + "operation": "boost", + "score": 0.130234494805336 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1339128166437149 + }, + "else": { + "operation": "boost", + "score": 0.12933453917503357 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10780993849039078 + }, + "else": { + "operation": "boost", + "score": 0.12322220951318741 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.13079239428043365 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1312873512506485 + }, + "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.1309014856815338 + }, + "else": { + "operation": "boost", + "score": -0.13889551162719727 + } + } + } + }, + "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", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13123944401741028 + }, + "else": { + "operation": "boost", + "score": 0.13077782094478607 + } + }, + "else": { + "operation": "boost", + "score": 0.12399011850357056 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1301090568304062 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12972576916217804 + }, + "else": { + "operation": "boost", + "score": 0.12223910540342331 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13037484884262085 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.1322694569826126 + }, + "else": { + "operation": "boost", + "score": 0.12480722367763519 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12900188565254211 + }, + "else": { + "operation": "boost", + "score": 0.12265537679195404 + } + }, + "else": { + "operation": "boost", + "score": 0.10846926271915436 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "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 + } + } + } + }, + "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.12093038111925125 + }, + "else": { + "operation": "boost", + "score": 0.1282583475112915 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.1308165043592453 + }, + "else": { + "operation": "boost", + "score": 0.12410807609558105 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12120164185762405 + } + } + }, + "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": 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, + "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.13016490638256073 + }, + "else": { + "operation": "boost", + "score": 0.12713326513767242 + } + }, + "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.13296103477478027 + }, + "else": { + "operation": "boost", + "score": 0.12684354186058044 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.1313662827014923 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91203.0, + "then": { + "operation": "boost", + "score": 0.08825824409723282 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49945.5, + "then": { + "operation": "boost", + "score": 0.13079458475112915 + }, + "else": { + "operation": "boost", + "score": 0.12727074325084686 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12156902998685837 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12143813818693161 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0050240978598594666 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15228.5, + "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": 61550.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.13146211206912994 + }, + "else": { + "operation": "boost", + "score": 0.13009648025035858 + } + }, + "else": { + "operation": "boost", + "score": 0.12910757958889008 + } + }, + "else": { + "operation": "boost", + "score": 0.12684203684329987 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.13117776811122894 + }, + "else": { + "operation": "boost", + "score": 0.11106857657432556 + } + }, + "else": { + "operation": "boost", + "score": 0.13287866115570068 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.13031204044818878 + }, + "else": { + "operation": "boost", + "score": 0.12628914415836334 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.13032034039497375 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.10958859324455261 + }, + "else": { + "operation": "boost", + "score": 0.13401557505130768 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1258063167333603 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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, + "then": { + "operation": "boost", + "score": 0.12895794212818146 + }, + "else": { + "operation": "boost", + "score": 0.1310596615076065 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "boost", + "score": 0.12997214496135712 + }, + "else": { + "operation": "boost", + "score": 0.12634898722171783 + } + }, + "else": { + "operation": "boost", + "score": 0.10399981588125229 + } + }, + "else": { + "operation": "boost", + "score": 0.10188227891921997 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12143874913454056 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.03457767143845558 + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12678462266921997 + }, + "else": { + "operation": "boost", + "score": 0.10845538973808289 + } + }, + "else": { + "operation": "boost", + "score": 0.1263793259859085 + } + }, + "else": { + "operation": "boost", + "score": 0.11902479082345963 + } + }, + "else": { + "operation": "boost", + "score": 0.07046753168106079 + } + }, + "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", + "set": [ + "Destructor", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09468210488557816 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.12812024354934692 + }, + "else": { + "operation": "boost", + "score": 0.1348181515932083 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1386527419090271 + }, + "else": { + "operation": "boost", + "score": 0.15381504595279694 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004314491059631109 + } + }, + "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", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13029231131076813 + }, + "else": { + "operation": "boost", + "score": 0.12851721048355103 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11832130700349808 + }, + "else": { + "operation": "boost", + "score": 0.09168756753206253 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009216946549713612 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.12426687031984329 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12475619465112686 + }, + "else": { + "operation": "boost", + "score": 0.12528719007968903 + } + } + } + }, + "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_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12695497274398804 + }, + "else": { + "operation": "boost", + "score": 0.12303244322538376 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12698829174041748 + }, + "else": { + "operation": "boost", + "score": 0.11936753988265991 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12643390893936157 + }, + "else": { + "operation": "boost", + "score": 0.126506045460701 + } + }, + "else": { + "operation": "boost", + "score": 0.11629046499729156 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.12204078584909439 + }, + "else": { + "operation": "boost", + "score": 0.12220647186040878 + } + }, + "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": 8.5, + "then": { + "operation": "boost", + "score": 0.12215814739465714 + }, + "else": { + "operation": "boost", + "score": 0.1228029727935791 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1232556477189064 + }, + "else": { + "operation": "boost", + "score": 0.12397665530443192 + } + } + }, + "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.12830518186092377 + }, + "else": { + "operation": "boost", + "score": 0.12474717944860458 + } + }, + "else": { + "operation": "boost", + "score": 0.12309811264276505 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.12253791838884354 + }, + "else": { + "operation": "boost", + "score": 0.12358361482620239 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12271038442850113 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16505104303359985 + }, + "else": { + "operation": "boost", + "score": 0.12222874909639359 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10075952112674713 + }, + "else": { + "operation": "boost", + "score": 0.1153278797864914 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.12421094626188278 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12491941452026367 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12493284791707993 + }, + "else": { + "operation": "boost", + "score": 0.12431258708238602 + } + }, + "else": { + "operation": "boost", + "score": 0.11679762601852417 + } + }, + "else": { + "operation": "boost", + "score": 0.12467154115438461 + } + }, + "else": { + "operation": "boost", + "score": 0.12349364161491394 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12244118750095367 + }, + "else": { + "operation": "boost", + "score": 0.11434434354305267 + } + }, + "else": { + "operation": "boost", + "score": 0.12350890785455704 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12217404693365097 + }, + "else": { + "operation": "boost", + "score": 0.11269466578960419 + } + }, + "else": { + "operation": "boost", + "score": 0.10009188205003738 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "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 + } + } + } + }, + "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.11243811249732971 + }, + "else": { + "operation": "boost", + "score": 0.12132571637630463 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12384513020515442 + }, + "else": { + "operation": "boost", + "score": 0.11527147144079208 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11290588229894638 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11780768632888794 + }, + "else": { + "operation": "boost", + "score": -0.06332673877477646 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1302003413438797 + }, + "else": { + "operation": "boost", + "score": 0.11489009857177734 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15788961946964264 + }, + "else": { + "operation": "boost", + "score": 0.10916237533092499 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Function" + ], + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1222807839512825 + }, + "else": { + "operation": "boost", + "score": 0.006173219997435808 + } + }, + "else": { + "operation": "boost", + "score": 0.05758789926767349 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12499315291643143 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11383161693811417 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11381235718727112 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008879497647285461 + } + } + } + }, + "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.12500624358654022 + }, + "else": { + "operation": "boost", + "score": 0.12345881760120392 + } + }, + "else": { + "operation": "boost", + "score": 0.11925464868545532 + } + }, + "else": { + "operation": "boost", + "score": 0.12185438722372055 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.30084019899368286 + }, + "else": { + "operation": "boost", + "score": 0.12540820240974426 + } + }, + "else": { + "operation": "boost", + "score": 0.09679579734802246 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.08800403773784637 + }, + "else": { + "operation": "boost", + "score": 0.12209669500589371 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.12376976758241653 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.10349693894386292 + }, + "else": { + "operation": "boost", + "score": 0.12246494740247726 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11889279633760452 + } + }, + "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": 44558.0, + "then": { + "operation": "boost", + "score": 0.12233008444309235 + }, + "else": { + "operation": "boost", + "score": 0.11698321998119354 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.12485122680664062 + }, + "else": { + "operation": "boost", + "score": 0.11560315638780594 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "boost", + "score": 0.1231367439031601 + }, + "else": { + "operation": "boost", + "score": 0.11056748777627945 + } + }, + "else": { + "operation": "boost", + "score": 0.09622710943222046 + } + }, + "else": { + "operation": "boost", + "score": 0.09416414052248001 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11431270837783813 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11467303335666656 + }, + "else": { + "operation": "boost", + "score": -0.02369212731719017 + } + } + } + }, + "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_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12095914781093597 + }, + "else": { + "operation": "boost", + "score": 0.10423249006271362 + } + }, + "else": { + "operation": "boost", + "score": 0.12067200988531113 + } + }, + "else": { + "operation": "boost", + "score": 0.04138768091797829 + } + }, + "else": { + "operation": "boost", + "score": 0.04814814403653145 + } + }, + "else": { + "operation": "boost", + "score": -0.09317507594823837 + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10843279212713242 + }, + "else": { + "operation": "boost", + "score": 0.12358734756708145 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11667025834321976 + }, + "else": { + "operation": "boost", + "score": 0.10683144629001617 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07216765731573105 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11543726921081543 + }, + "else": { + "operation": "boost", + "score": 0.07243770360946655 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09923480451107025 + }, + "else": { + "operation": "boost", + "score": 0.11263704299926758 + } + }, + "else": { + "operation": "boost", + "score": 0.07295036315917969 + } + }, + "else": { + "operation": "boost", + "score": -0.001367480494081974 + } + } + } + } + }, + "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.11751336604356766 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.13858655095100403 + }, + "else": { + "operation": "boost", + "score": 0.14424952864646912 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021870389580726624 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12046030908823013 + }, + "else": { + "operation": "boost", + "score": -0.12353648245334625 + } + }, + "else": { + "operation": "boost", + "score": 0.008319628424942493 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.11929434537887573 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12002735584974289 + }, + "else": { + "operation": "boost", + "score": 0.12091463059186935 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11948946118354797 + }, + "else": { + "operation": "boost", + "score": 0.12036920338869095 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12216780334711075 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12212684750556946 + }, + "else": { + "operation": "boost", + "score": 0.11558847874403 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12154514342546463 + }, + "else": { + "operation": "boost", + "score": 0.12154638767242432 + } + }, + "else": { + "operation": "boost", + "score": 0.11231476068496704 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.11672655493021011 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11804447323083878 + }, + "else": { + "operation": "boost", + "score": 0.11835885047912598 + } + }, + "else": { + "operation": "boost", + "score": 0.11508417874574661 + } + } + }, + "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.11703633517026901 + }, + "else": { + "operation": "boost", + "score": 0.11783362179994583 + } + }, + "else": { + "operation": "boost", + "score": 0.1187778189778328 + } + }, + "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.12197256088256836 + }, + "else": { + "operation": "boost", + "score": 0.11950597167015076 + } + }, + "else": { + "operation": "boost", + "score": 0.11765623092651367 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.11722981184720993 + }, + "else": { + "operation": "boost", + "score": 0.11851897835731506 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1611931473016739 + }, + "else": { + "operation": "boost", + "score": 0.11666274815797806 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09451597183942795 + }, + "else": { + "operation": "boost", + "score": 0.10865762829780579 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11922913044691086 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12014608085155487 + }, + "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.119610995054245 + }, + "else": { + "operation": "boost", + "score": -0.12346919625997543 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12017848342657089 + }, + "else": { + "operation": "boost", + "score": 0.1193772479891777 + } + }, + "else": { + "operation": "boost", + "score": 0.11133886873722076 + } + }, + "else": { + "operation": "boost", + "score": 0.1196441650390625 + } + }, + "else": { + "operation": "boost", + "score": 0.11836690455675125 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11672337353229523 + }, + "else": { + "operation": "boost", + "score": 0.10791365802288055 + } + }, + "else": { + "operation": "boost", + "score": 0.11821166425943375 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11878566443920135 + }, + "else": { + "operation": "boost", + "score": 0.11370537430047989 + } + }, + "else": { + "operation": "boost", + "score": 0.092056505382061 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12178728729486465 + }, + "else": { + "operation": "boost", + "score": 0.11355303972959518 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1207084208726883 + }, + "else": { + "operation": "boost", + "score": 0.1165146604180336 + } + } + } + }, + "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.10750146955251694 + }, + "else": { + "operation": "boost", + "score": 0.11582890897989273 + } + }, + "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": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3866330087184906 + }, + "else": { + "operation": "boost", + "score": 0.12047649174928665 + } + }, + "else": { + "operation": "boost", + "score": 0.11597837507724762 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.1201920285820961 + }, + "else": { + "operation": "boost", + "score": 0.1196092814207077 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1110777035355568 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10532408952713013 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11173459142446518 + }, + "else": { + "operation": "boost", + "score": -0.1343853622674942 + } + }, + "else": { + "operation": "boost", + "score": 0.09548205137252808 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.124134361743927 + }, + "else": { + "operation": "boost", + "score": 0.10703504830598831 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14591869711875916 + }, + "else": { + "operation": "boost", + "score": 0.10226703435182571 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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_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.11525250971317291 + }, + "else": { + "operation": "boost", + "score": -0.00839395821094513 + } + }, + "else": { + "operation": "boost", + "score": 0.07689264416694641 + } + }, + "else": { + "operation": "boost", + "score": 0.08861833810806274 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10723086446523666 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0028099988121539354 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "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": 61550.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12013884633779526 + }, + "else": { + "operation": "boost", + "score": 0.11841384321451187 + } + }, + "else": { + "operation": "boost", + "score": 0.11696905642747879 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14575.5, + "then": { + "operation": "boost", + "score": 0.11364472657442093 + }, + "else": { + "operation": "boost", + "score": 0.12395212799310684 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11972884088754654 + }, + "else": { + "operation": "boost", + "score": 0.08614074438810349 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.07820185273885727 + }, + "else": { + "operation": "boost", + "score": 0.11634931713342667 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "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.11855028569698334 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.09728053957223892 + }, + "else": { + "operation": "boost", + "score": 0.11817038059234619 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14247608184814453 + } + }, + "else": { + "operation": "boost", + "score": 0.11292942613363266 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.1138969287276268 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44558.0, + "then": { + "operation": "boost", + "score": 0.11677347868680954 + }, + "else": { + "operation": "boost", + "score": 0.11954385042190552 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "boost", + "score": 0.11771949380636215 + }, + "else": { + "operation": "boost", + "score": 0.11298117786645889 + } + }, + "else": { + "operation": "boost", + "score": 0.08966502547264099 + } + }, + "else": { + "operation": "boost", + "score": 0.08557111024856567 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10719378292560577 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10839667916297913 + }, + "else": { + "operation": "boost", + "score": -0.027163587510585785 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11240765452384949 + }, + "else": { + "operation": "boost", + "score": 0.09489945322275162 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11366764456033707 + }, + "else": { + "operation": "boost", + "score": 0.1174771785736084 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05698665231466293 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.02416493184864521 + }, + "else": { + "operation": "boost", + "score": 0.08521692454814911 + } + } + }, + "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", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.094246044754982 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.12513957917690277 + }, + "else": { + "operation": "boost", + "score": 0.13119032979011536 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011788197793066502 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10544245690107346 + }, + "else": { + "operation": "boost", + "score": -0.11486576497554779 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.11688400059938431 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10320190340280533 + }, + "else": { + "operation": "boost", + "score": 0.07586608827114105 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0003689741715788841 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1507977992296219 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.15107516944408417 + }, + "else": { + "operation": "boost", + "score": 0.13564994931221008 + } + }, + "else": { + "operation": "boost", + "score": 0.0894283726811409 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0767642930150032 + } + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.11559810489416122 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11652669310569763 + }, + "else": { + "operation": "boost", + "score": 0.11735793948173523 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11566051095724106 + }, + "else": { + "operation": "boost", + "score": 0.11667361110448837 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11848047375679016 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11838960647583008 + }, + "else": { + "operation": "boost", + "score": 0.1085590049624443 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11753761768341064 + }, + "else": { + "operation": "boost", + "score": 0.11764448881149292 + } + }, + "else": { + "operation": "boost", + "score": 0.10657909512519836 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.11275042593479156 + }, + "else": { + "operation": "boost", + "score": 0.11231323331594467 + } + }, + "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": 8.5, + "then": { + "operation": "boost", + "score": 0.11278083920478821 + }, + "else": { + "operation": "boost", + "score": 0.11372779309749603 + } + }, + "else": { + "operation": "boost", + "score": 0.11483249813318253 + } + }, + "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.11726580560207367 + }, + "else": { + "operation": "boost", + "score": 0.11535303294658661 + } + }, + "else": { + "operation": "boost", + "score": 0.11325019598007202 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.11313800513744354 + }, + "else": { + "operation": "boost", + "score": 0.11466027051210403 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15168234705924988 + }, + "else": { + "operation": "boost", + "score": 0.11224480718374252 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08685126155614853 + }, + "else": { + "operation": "boost", + "score": 0.10397052764892578 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1155480146408081 + }, + "else": { + "operation": "boost", + "score": 0.11629999428987503 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11713960766792297 + }, + "else": { + "operation": "boost", + "score": 0.11591767519712448 + } + }, + "else": { + "operation": "boost", + "score": 0.10575226694345474 + } + }, + "else": { + "operation": "boost", + "score": 0.11605337262153625 + } + }, + "else": { + "operation": "boost", + "score": 0.11463440209627151 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11201805621385574 + }, + "else": { + "operation": "boost", + "score": 0.10201078653335571 + } + }, + "else": { + "operation": "boost", + "score": 0.11402109265327454 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10998932272195816 + }, + "else": { + "operation": "boost", + "score": 0.08509616553783417 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11785674840211868 + }, + "else": { + "operation": "boost", + "score": 0.10904040187597275 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1039767637848854 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10032308846712112 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "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", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319.0, + "then": { + "operation": "boost", + "score": 0.11616960167884827 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1385822594165802 + }, + "else": { + "operation": "boost", + "score": 0.09461640566587448 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11612530797719955 + }, + "else": { + "operation": "boost", + "score": 0.10890008509159088 + } + }, + "else": { + "operation": "boost", + "score": 0.0027434853836894035 + } + }, + "else": { + "operation": "boost", + "score": 0.04491106793284416 + } + }, + "else": { + "operation": "boost", + "score": 0.0658419206738472 + } + }, + "else": { + "operation": "boost", + "score": 0.0030858272220939398 + } + }, + "else": { + "operation": "boost", + "score": -0.06617368012666702 + } + } + } + }, + "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.11435431987047195 + }, + "else": { + "operation": "boost", + "score": 0.11000754684209824 + } + }, + "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.11810240894556046 + }, + "else": { + "operation": "boost", + "score": 0.10892579704523087 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "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.11645424365997314 + }, + "else": { + "operation": "boost", + "score": 0.11600976437330246 + } + }, + "else": { + "operation": "boost", + "score": 0.08673892170190811 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10154625028371811 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00773789593949914 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14372.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11659464985132217 + }, + "else": { + "operation": "boost", + "score": 0.11451084911823273 + } + }, + "else": { + "operation": "boost", + "score": 0.11293107271194458 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14575.5, + "then": { + "operation": "boost", + "score": 0.10878988355398178 + }, + "else": { + "operation": "boost", + "score": 0.11917676776647568 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11580163240432739 + }, + "else": { + "operation": "boost", + "score": 0.08053216338157654 + } + }, + "else": { + "operation": "boost", + "score": 0.11006038635969162 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "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.11479312926530838 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.09171097725629807 + }, + "else": { + "operation": "boost", + "score": 0.1137726828455925 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13303670287132263 + } + }, + "else": { + "operation": "boost", + "score": 0.10886558890342712 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10830827802419662 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44558.0, + "then": { + "operation": "boost", + "score": 0.11285747587680817 + }, + "else": { + "operation": "boost", + "score": 0.11370674520730972 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10241763293743134 + }, + "else": { + "operation": "boost", + "score": 0.07801457494497299 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10073372721672058 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword" + ], + "then": { + "operation": "boost", + "score": 0.10335251688957214 + }, + "else": { + "operation": "boost", + "score": -0.02547048032283783 + } + } + } + }, + "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_greater", + "feature": "IsNameInContext", + "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.1087021753191948 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09294407814741135 + }, + "else": { + "operation": "boost", + "score": 0.11124321073293686 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03608899936079979 + } + }, + "else": { + "operation": "boost", + "score": 0.03913634642958641 + } + }, + "else": { + "operation": "boost", + "score": -0.07891732454299927 + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10496653616428375 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11344757676124573 + }, + "else": { + "operation": "boost", + "score": 0.10150057822465897 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09418657422065735 + } + }, + "else": { + "operation": "boost", + "score": 0.06357603520154953 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10500875860452652 + }, + "else": { + "operation": "boost", + "score": 0.059214185923337936 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09024079889059067 + }, + "else": { + "operation": "boost", + "score": 0.10359909385442734 + } + }, + "else": { + "operation": "boost", + "score": 0.03899865597486496 + } + }, + "else": { + "operation": "boost", + "score": 0.05399207025766373 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "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.0984700620174408 + }, + "else": { + "operation": "boost", + "score": 0.12087564170360565 + } + }, + "else": { + "operation": "boost", + "score": 0.0006031212978996336 + } + }, + "else": { + "operation": "boost", + "score": -0.11246079951524734 + } + }, + "else": { + "operation": "boost", + "score": -0.11093655228614807 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.004717906005680561 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1445876657962799 + }, + "else": { + "operation": "boost", + "score": 0.13706037402153015 + } + }, + "else": { + "operation": "boost", + "score": 0.10684366524219513 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1295342594385147 + }, + "else": { + "operation": "boost", + "score": 0.0822460949420929 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07366691529750824 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.11275579035282135 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11386134475469589 + }, + "else": { + "operation": "boost", + "score": 0.11472485959529877 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11398562788963318 + }, + "else": { + "operation": "boost", + "score": 0.11379560083150864 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11578098684549332 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11559638381004333 + }, + "else": { + "operation": "boost", + "score": 0.10595715045928955 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11480718851089478 + }, + "else": { + "operation": "boost", + "score": 0.11461012810468674 + } + }, + "else": { + "operation": "boost", + "score": 0.10103906691074371 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.10922900587320328 + }, + "else": { + "operation": "boost", + "score": 0.10868067294359207 + } + }, + "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.1097482368350029 + }, + "else": { + "operation": "boost", + "score": 0.110886350274086 + } + }, + "else": { + "operation": "boost", + "score": 0.11188711225986481 + } + }, + "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.11373092979192734 + }, + "else": { + "operation": "boost", + "score": 0.11200198531150818 + } + }, + "else": { + "operation": "boost", + "score": 0.10952455550432205 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07960382103919983 + }, + "else": { + "operation": "boost", + "score": 0.09866321086883545 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11272177845239639 + }, + "else": { + "operation": "boost", + "score": 0.1135684996843338 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11357439309358597 + }, + "else": { + "operation": "boost", + "score": 0.1014041006565094 + } + }, + "else": { + "operation": "boost", + "score": 0.11318415403366089 + } + }, + "else": { + "operation": "boost", + "score": 0.11159367114305496 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.107973612844944 + }, + "else": { + "operation": "boost", + "score": 0.09683384001255035 + } + }, + "else": { + "operation": "boost", + "score": 0.11055006831884384 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10586534440517426 + }, + "else": { + "operation": "boost", + "score": 0.07861734926700592 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11137374490499496 + }, + "else": { + "operation": "boost", + "score": 0.11389537900686264 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11497005075216293 + }, + "else": { + "operation": "boost", + "score": 0.10513200610876083 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11384961754083633 + }, + "else": { + "operation": "boost", + "score": 0.10577559471130371 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1069711223244667 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11304105073213577 + }, + "else": { + "operation": "boost", + "score": 0.10705427825450897 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.11288757622241974 + }, + "else": { + "operation": "boost", + "score": 0.11191584169864655 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09653709083795547 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09525296092033386 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10250584781169891 + }, + "else": { + "operation": "boost", + "score": -0.12183509021997452 + } + }, + "else": { + "operation": "boost", + "score": 0.08296811580657959 + } + }, + "else": { + "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": "NumReferences", + "threshold": 317.5, + "then": { + "operation": "boost", + "score": 0.11287634074687958 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13428166508674622 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10781753063201904 + }, + "else": { + "operation": "boost", + "score": 0.003731833305209875 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10868692398071289 + }, + "else": { + "operation": "boost", + "score": 0.03781925141811371 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03953958675265312 + } + }, + "else": { + "operation": "boost", + "score": -0.012634332291781902 + } + } + } + }, + "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.11126012355089188 + }, + "else": { + "operation": "boost", + "score": 0.10605524480342865 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11410803347826004 + }, + "else": { + "operation": "boost", + "score": 0.10777845233678818 + } + }, + "else": { + "operation": "boost", + "score": 0.03984057903289795 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79050.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11542865633964539 + }, + "else": { + "operation": "boost", + "score": 0.1110396757721901 + } + }, + "else": { + "operation": "boost", + "score": 0.10438830405473709 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09670503437519073 + } + } + }, + "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, + "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.10713967680931091 + }, + "else": { + "operation": "boost", + "score": 0.08274657279253006 + } + }, + "else": { + "operation": "boost", + "score": 0.08621226996183395 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10515062510967255 + }, + "else": { + "operation": "boost", + "score": 0.10295051336288452 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05342704430222511 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28364.0, + "then": { + "operation": "boost", + "score": 0.11415236443281174 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.17287316918373108 + }, + "else": { + "operation": "boost", + "score": 0.15700075030326843 + } + }, + "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.1725756675004959 + }, + "else": { + "operation": "boost", + "score": 0.10375506430864334 + } + }, + "else": { + "operation": "boost", + "score": 0.09780673682689667 + } + } + }, + "else": { + "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.1668085753917694 + }, + "else": { + "operation": "boost", + "score": 0.09729942679405212 + } + }, + "else": { + "operation": "boost", + "score": 0.060717981308698654 + } + }, + "else": { + "operation": "boost", + "score": 1.8586839360068552e-05 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0699261873960495 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "boost", + "score": 0.11122545599937439 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 326.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 336.5, + "then": { + "operation": "boost", + "score": 0.12569871544837952 + }, + "else": { + "operation": "boost", + "score": 0.1512933075428009 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11857988685369492 + }, + "else": { + "operation": "boost", + "score": 0.11778116971254349 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003363893600180745 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14379.0, + "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_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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09612119197845459 + }, + "else": { + "operation": "boost", + "score": -0.03280278667807579 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.096161387860775 + }, + "else": { + "operation": "boost", + "score": -0.10704226046800613 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "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" + ], + "then": { + "operation": "boost", + "score": 0.10733029246330261 + }, + "else": { + "operation": "boost", + "score": 0.08688613027334213 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.14414721727371216 + }, + "else": { + "operation": "boost", + "score": 0.13222041726112366 + } + }, + "else": { + "operation": "boost", + "score": 0.08794558048248291 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04263277351856232 + } + }, + "else": { + "operation": "boost", + "score": -0.02981783263385296 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.11055421829223633 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11176072061061859 + }, + "else": { + "operation": "boost", + "score": 0.11274468153715134 + } + }, + "else": { + "operation": "boost", + "score": 0.11051369458436966 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11360660940408707 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11334092170000076 + }, + "else": { + "operation": "boost", + "score": 0.10144197940826416 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11254177987575531 + }, + "else": { + "operation": "boost", + "score": 0.11209063977003098 + } + }, + "else": { + "operation": "boost", + "score": 0.09744499623775482 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.10654184222221375 + }, + "else": { + "operation": "boost", + "score": 0.10538074374198914 + } + }, + "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.10715818405151367 + }, + "else": { + "operation": "boost", + "score": 0.10829926282167435 + } + }, + "else": { + "operation": "boost", + "score": 0.10933665931224823 + } + }, + "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.11099639534950256 + }, + "else": { + "operation": "boost", + "score": 0.1092572808265686 + } + }, + "else": { + "operation": "boost", + "score": 0.10651946812868118 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07463622838258743 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11819581687450409 + }, + "else": { + "operation": "boost", + "score": 0.09346658736467361 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1117197573184967 + }, + "else": { + "operation": "boost", + "score": 0.09726066142320633 + } + }, + "else": { + "operation": "boost", + "score": 0.1111338809132576 + } + }, + "else": { + "operation": "boost", + "score": 0.10934008657932281 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10439912229776382 + }, + "else": { + "operation": "boost", + "score": 0.09189821034669876 + } + }, + "else": { + "operation": "boost", + "score": 0.10770495980978012 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10227903723716736 + }, + "else": { + "operation": "boost", + "score": 0.07271122187376022 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10903491824865341 + }, + "else": { + "operation": "boost", + "score": 0.11175712198019028 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11261863261461258 + }, + "else": { + "operation": "boost", + "score": 0.10184679925441742 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.09468641132116318 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09081411361694336 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "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", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319.0, + "then": { + "operation": "boost", + "score": 0.10844777524471283 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1316438466310501 + }, + "else": { + "operation": "boost", + "score": 0.08257182687520981 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10959354788064957 + }, + "else": { + "operation": "boost", + "score": 0.09889420121908188 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015044985339045525 + } + } + } + }, + "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.10881023854017258 + }, + "else": { + "operation": "boost", + "score": 0.10269302129745483 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0919075533747673 + } + } + }, + "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", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09999218583106995 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0820770263671875 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10281365364789963 + }, + "else": { + "operation": "boost", + "score": 0.09924612939357758 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05727613344788551 + } + }, + "else": { + "operation": "boost", + "score": -0.09439760446548462 + } + }, + "else": { + "operation": "boost", + "score": -0.06759430468082428 + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61294.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0984751284122467 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": 0.12257838994264603 + }, + "else": { + "operation": "boost", + "score": 0.12289237231016159 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13224050402641296 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.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, + "then": { + "operation": "boost", + "score": 0.10651843994855881 + }, + "else": { + "operation": "boost", + "score": 0.09316743165254593 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08749289065599442 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06986352801322937 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74366.5, + "then": { + "operation": "boost", + "score": 0.10813342034816742 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10404457151889801 + }, + "else": { + "operation": "boost", + "score": 0.09500370174646378 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1075.0, + "then": { + "operation": "boost", + "score": 0.12190493196249008 + }, + "else": { + "operation": "boost", + "score": 0.1146569550037384 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30183.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11198125034570694 + }, + "else": { + "operation": "boost", + "score": 0.11567480117082596 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08226699382066727 + }, + "else": { + "operation": "boost", + "score": 0.0981145054101944 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06535090506076813 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020647825673222542 + } + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 67917.5, + "then": { + "operation": "boost", + "score": 0.11190285533666611 + }, + "else": { + "operation": "boost", + "score": 0.0849699079990387 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.11065861582756042 + }, + "else": { + "operation": "boost", + "score": 0.11780931055545807 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3299.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288037.0, + "then": { + "operation": "boost", + "score": 0.11144635826349258 + }, + "else": { + "operation": "boost", + "score": 0.11017869412899017 + } + }, + "else": { + "operation": "boost", + "score": 0.05086032673716545 + } + }, + "else": { + "operation": "boost", + "score": -0.0021013019140809774 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16202.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": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.22892284393310547 + }, + "else": { + "operation": "boost", + "score": 0.11035406589508057 + } + }, + "else": { + "operation": "boost", + "score": 0.10194848477840424 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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, + "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": 44558.0, + "then": { + "operation": "boost", + "score": 0.10673113912343979 + }, + "else": { + "operation": "boost", + "score": 0.10075245797634125 + } + }, + "else": { + "operation": "boost", + "score": 0.09601441025733948 + } + }, + "else": { + "operation": "boost", + "score": 0.07373794913291931 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09155039489269257 + }, + "else": { + "operation": "boost", + "score": -0.045458000153303146 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10366310179233551 + }, + "else": { + "operation": "boost", + "score": -0.10923884063959122 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1380288302898407 + }, + "else": { + "operation": "boost", + "score": 0.12500697374343872 + } + }, + "else": { + "operation": "boost", + "score": 0.08361522108316422 + } + }, + "else": { + "operation": "boost", + "score": 0.025136904790997505 + } + }, + "else": { + "operation": "boost", + "score": -0.06863709539175034 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.1087954044342041 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11023339629173279 + }, + "else": { + "operation": "boost", + "score": 0.1110779345035553 + } + }, + "else": { + "operation": "boost", + "score": 0.10971008241176605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11174870282411575 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11153910309076309 + }, + "else": { + "operation": "boost", + "score": 0.09542302042245865 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11059917509555817 + }, + "else": { + "operation": "boost", + "score": 0.11023682355880737 + } + }, + "else": { + "operation": "boost", + "score": 0.09313978254795074 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.1042175218462944 + }, + "else": { + "operation": "boost", + "score": 0.10258693248033524 + } + }, + "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.10463237762451172 + }, + "else": { + "operation": "boost", + "score": 0.10611503571271896 + } + }, + "else": { + "operation": "boost", + "score": 0.10730414092540741 + } + }, + "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.10885708779096603 + }, + "else": { + "operation": "boost", + "score": 0.10674041509628296 + } + }, + "else": { + "operation": "boost", + "score": 0.103658527135849 + } + } + } + }, + "else": { + "operation": "if_greater", + "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.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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0660671815276146 + }, + "else": { + "operation": "boost", + "score": 0.090155228972435 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10891495645046234 + }, + "else": { + "operation": "boost", + "score": 0.11006296426057816 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.10943377017974854 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11004138737916946 + }, + "else": { + "operation": "boost", + "score": 0.09544224292039871 + } + } + }, + "else": { + "operation": "boost", + "score": 0.107370525598526 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10096301138401031 + }, + "else": { + "operation": "boost", + "score": 0.08716694265604019 + } + }, + "else": { + "operation": "boost", + "score": 0.1051144078373909 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1015128642320633 + }, + "else": { + "operation": "boost", + "score": 0.07319292426109314 + } + }, + "else": { + "operation": "boost", + "score": 0.04176260903477669 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10739915817975998 + }, + "else": { + "operation": "boost", + "score": 0.1100480854511261 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11080509424209595 + }, + "else": { + "operation": "boost", + "score": 0.09100541472434998 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10905805230140686 + }, + "else": { + "operation": "boost", + "score": 0.09850818663835526 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10083907842636108 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10823656618595123 + }, + "else": { + "operation": "boost", + "score": 0.09997943043708801 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.108196921646595 + }, + "else": { + "operation": "boost", + "score": 0.1068023070693016 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09042397141456604 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08590181171894073 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0992121547460556 + }, + "else": { + "operation": "boost", + "score": 0.001747954753227532 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07516661286354065 + }, + "else": { + "operation": "boost", + "score": 0.1146930605173111 + } + }, + "else": { + "operation": "boost", + "score": 0.09167571365833282 + } + }, + "else": { + "operation": "boost", + "score": 0.07731732726097107 + } + } + }, + "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.1105787381529808 + }, + "else": { + "operation": "boost", + "score": 0.08680518716573715 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06142548471689224 + }, + "else": { + "operation": "boost", + "score": -0.017835214734077454 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.0748993307352066 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.09963864833116531 + }, + "else": { + "operation": "boost", + "score": 0.03781425952911377 + } + }, + "else": { + "operation": "boost", + "score": -0.0179500263184309 + } + } + } + }, + "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.10666686296463013 + }, + "else": { + "operation": "boost", + "score": 0.0998251661658287 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.1062014177441597 + }, + "else": { + "operation": "boost", + "score": 0.0323205403983593 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71477.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11201408505439758 + }, + "else": { + "operation": "boost", + "score": 0.10549168288707733 + } + }, + "else": { + "operation": "boost", + "score": 0.09609203785657883 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08712545037269592 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012952004559338093 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0952853113412857 + }, + "else": { + "operation": "boost", + "score": 0.07734303176403046 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049441222101449966 + }, + "else": { + "operation": "boost", + "score": 0.10300636291503906 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { + "operation": "boost", + "score": 0.11124607920646667 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15481115877628326 + }, + "else": { + "operation": "boost", + "score": 0.14067643880844116 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.15014131367206573 + }, + "else": { + "operation": "boost", + "score": 0.08836087584495544 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19434.0, + "then": { + "operation": "boost", + "score": 0.10881762951612473 + }, + "else": { + "operation": "boost", + "score": 0.04949052631855011 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0023724453058093786 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1258469671010971 + }, + "else": { + "operation": "boost", + "score": 0.10068771243095398 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06054715812206268 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6408.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.13551975786685944 + }, + "else": { + "operation": "boost", + "score": 0.12378203868865967 + } + }, + "else": { + "operation": "boost", + "score": 0.10469160228967667 + } + }, + "else": { + "operation": "boost", + "score": 0.06546216458082199 + } + }, + "else": { + "operation": "boost", + "score": 0.04580478370189667 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11007843911647797 + }, + "else": { + "operation": "boost", + "score": 0.11006070673465729 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10639480501413345 + }, + "else": { + "operation": "boost", + "score": 0.09873724728822708 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10750064253807068 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10199514776468277 + }, + "else": { + "operation": "boost", + "score": 0.09174844622612 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09312868863344193 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12364915013313293 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12036789953708649 + }, + "else": { + "operation": "boost", + "score": 0.10503845661878586 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10138246417045593 + }, + "else": { + "operation": "boost", + "score": 0.07373494654893875 + } + }, + "else": { + "operation": "boost", + "score": 0.07335701584815979 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029619477689266205 + } + }, + "else": { + "operation": "boost", + "score": -0.03092980943620205 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10744765400886536 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10889073461294174 + }, + "else": { + "operation": "boost", + "score": 0.10976985096931458 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1088336631655693 + }, + "else": { + "operation": "boost", + "score": 0.10781210660934448 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11033537983894348 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11012718081474304 + }, + "else": { + "operation": "boost", + "score": 0.09569605439901352 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10880627483129501 + }, + "else": { + "operation": "boost", + "score": 0.10856131464242935 + } + }, + "else": { + "operation": "boost", + "score": 0.09008459746837616 + } + } + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.10204095393419266 + }, + "else": { + "operation": "boost", + "score": 0.09990354627370834 + } + }, + "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.1027788370847702 + }, + "else": { + "operation": "boost", + "score": 0.10418643057346344 + } + }, + "else": { + "operation": "boost", + "score": 0.10528247803449631 + } + }, + "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.10713094472885132 + }, + "else": { + "operation": "boost", + "score": 0.10463637858629227 + } + }, + "else": { + "operation": "boost", + "score": 0.10095107555389404 + } + } + } + }, + "else": { + "operation": "if_greater", + "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.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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0632791593670845 + }, + "else": { + "operation": "boost", + "score": 0.08585056662559509 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10759252309799194 + }, + "else": { + "operation": "boost", + "score": 0.10895707458257675 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1089906245470047 + }, + "else": { + "operation": "boost", + "score": 0.09188561141490936 + } + }, + "else": { + "operation": "boost", + "score": 0.10821104794740677 + } + }, + "else": { + "operation": "boost", + "score": 0.10585460811853409 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09773344546556473 + }, + "else": { + "operation": "boost", + "score": 0.08190431445837021 + } + }, + "else": { + "operation": "boost", + "score": 0.10284458845853806 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09555277228355408 + }, + "else": { + "operation": "boost", + "score": 0.05950193479657173 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10559152066707611 + }, + "else": { + "operation": "boost", + "score": 0.10866434872150421 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10923679172992706 + }, + "else": { + "operation": "boost", + "score": 0.09617018699645996 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10456672310829163 + }, + "else": { + "operation": "boost", + "score": 0.08564914017915726 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08086048811674118 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "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", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.11991511285305023 + } + }, + "else": { + "operation": "boost", + "score": 0.06817008554935455 + } + }, + "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_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10165297240018845 + }, + "else": { + "operation": "boost", + "score": 0.1113901287317276 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10386867076158524 + }, + "else": { + "operation": "boost", + "score": 0.11651916801929474 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.013854405842721462 + } + } + } + }, + "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.10479172319173813 + }, + "else": { + "operation": "boost", + "score": 0.09718175232410431 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71477.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11097678542137146 + }, + "else": { + "operation": "boost", + "score": 0.10312647372484207 + } + }, + "else": { + "operation": "boost", + "score": 0.09244736284017563 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0828278511762619 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02613874524831772 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "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_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09478026628494263 + }, + "else": { + "operation": "boost", + "score": 0.07383669912815094 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04273003712296486 + }, + "else": { + "operation": "boost", + "score": 0.1003151535987854 + } + }, + "else": { + "operation": "boost", + "score": 0.08692540228366852 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0491911917924881 + } + }, + "else": { + "operation": "boost", + "score": -0.08390429615974426 + } + }, + "else": { + "operation": "boost", + "score": -0.057629674673080444 + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61294.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08943445980548859 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": 0.11563942581415176 + }, + "else": { + "operation": "boost", + "score": 0.11809303611516953 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.049203649163246155 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07930617779493332 + }, + "else": { + "operation": "boost", + "score": 0.13067050278186798 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09286469221115112 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.1047050952911377 + }, + "else": { + "operation": "boost", + "score": 0.09699993580579758 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10084451735019684 + }, + "else": { + "operation": "boost", + "score": 0.08512585610151291 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08037632703781128 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06137925013899803 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74366.5, + "then": { + "operation": "boost", + "score": 0.10365775227546692 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09786106646060944 + }, + "else": { + "operation": "boost", + "score": 0.0875268280506134 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1075.0, + "then": { + "operation": "boost", + "score": 0.12050379067659378 + }, + "else": { + "operation": "boost", + "score": 0.10998083651065826 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06003352627158165 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019843291491270065 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1705.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34495.0, + "then": { + "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": "boost", + "score": 0.10328736156225204 + }, + "else": { + "operation": "boost", + "score": 0.10185825079679489 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10629311203956604 + }, + "else": { + "operation": "boost", + "score": 0.08639218658208847 + } + }, + "else": { + "operation": "boost", + "score": 0.08278609812259674 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06976353377103806 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08650514483451843 + }, + "else": { + "operation": "boost", + "score": -0.03769225999712944 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09395778924226761 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12423855811357498 + }, + "else": { + "operation": "boost", + "score": 0.1102006733417511 + } + }, + "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.12418582290410995 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1170642301440239 + }, + "else": { + "operation": "boost", + "score": 0.10405148565769196 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010284488089382648 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.04936980456113815 + }, + "else": { + "operation": "boost", + "score": 0.0862807184457779 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.016454407945275307 + } + } + }, + "else": { + "operation": "boost", + "score": -0.052583470940589905 + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10630960017442703 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.108649842441082 + }, + "else": { + "operation": "boost", + "score": 0.10672742873430252 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10924031585454941 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10890988260507584 + }, + "else": { + "operation": "boost", + "score": 0.09110457450151443 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10724352300167084 + }, + "else": { + "operation": "boost", + "score": 0.08590403944253922 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09733649343252182 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1018613800406456 + }, + "else": { + "operation": "boost", + "score": 0.1036650612950325 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10279117524623871 + }, + "else": { + "operation": "boost", + "score": 0.09850785881280899 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0745074525475502 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10663274675607681 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09461644291877747 + }, + "else": { + "operation": "boost", + "score": 0.07704973220825195 + } + }, + "else": { + "operation": "boost", + "score": 0.10062616318464279 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09009870141744614 + }, + "else": { + "operation": "boost", + "score": 0.026432868093252182 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10673437267541885 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1081661805510521 + }, + "else": { + "operation": "boost", + "score": 0.09359294176101685 + } + }, + "else": { + "operation": "boost", + "score": 0.1041601151227951 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09538519382476807 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.10247093439102173 + }, + "else": { + "operation": "boost", + "score": 0.0813414603471756 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07719583809375763 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07616126537322998 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009674947708845139 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 171.0, + "then": { + "operation": "boost", + "score": 0.10800036042928696 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11144594103097916 + }, + "else": { + "operation": "boost", + "score": 0.07486190646886826 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08300048112869263 + } + }, + "else": { + "operation": "boost", + "score": -0.021195413544774055 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1705.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15244.5, + "then": { + "operation": "boost", + "score": 0.10480741411447525 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9552.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5982.5, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6395.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15221.0, + "then": { + "operation": "boost", + "score": 0.10972929000854492 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13744.0, + "then": { + "operation": "boost", + "score": 0.18489773571491241 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10142.5, + "then": { + "operation": "boost", + "score": 0.18103492259979248 + }, + "else": { + "operation": "boost", + "score": 0.1847389191389084 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1814155876636505 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15754.5, + "then": { + "operation": "boost", + "score": 0.10258044302463531 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16301582753658295 + }, + "else": { + "operation": "boost", + "score": 0.15280552208423615 + } + }, + "else": { + "operation": "boost", + "score": 0.13534045219421387 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13787730038166046 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, + "then": { + "operation": "boost", + "score": 0.10219860076904297 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8266.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11509401351213455 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11900.0, + "then": { + "operation": "boost", + "score": 0.17260216176509857 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11149.0, + "then": { + "operation": "boost", + "score": 0.18468287587165833 + }, + "else": { + "operation": "boost", + "score": 0.18450544774532318 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09158452600240707 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.004464673809707165 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10587349534034729 + }, + "else": { + "operation": "boost", + "score": 0.0860229954123497 + } + }, + "else": { + "operation": "boost", + "score": 0.10490556061267853 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08884570002555847 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12067825347185135 + }, + "else": { + "operation": "boost", + "score": 0.09176680445671082 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08735319972038269 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0981188639998436 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.07850193977355957 + }, + "else": { + "operation": "boost", + "score": 0.1384359747171402 + } + }, + "else": { + "operation": "boost", + "score": 0.07921189814805984 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008532634004950523 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.026283307000994682 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50011.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "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_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09152451157569885 + }, + "else": { + "operation": "boost", + "score": 0.07194360345602036 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09190689772367477 + }, + "else": { + "operation": "boost", + "score": 0.08681144565343857 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04361855983734131 + } + }, + "else": { + "operation": "boost", + "score": -0.07265188544988632 + } + }, + "else": { + "operation": "boost", + "score": -0.05310500040650368 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10023938864469528 + }, + "else": { + "operation": "boost", + "score": 0.08317126333713531 + } + }, + "else": { + "operation": "boost", + "score": 0.07927310466766357 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08574603497982025 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07888797670602798 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03236048296093941 + }, + "else": { + "operation": "boost", + "score": 0.07096592336893082 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.024526473134756088 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09541688114404678 + }, + "else": { + "operation": "boost", + "score": -0.10115610808134079 + } + }, + "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": "NumReferences", + "threshold": 291.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 379.5, + "then": { + "operation": "boost", + "score": 0.11722902953624725 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1412321925163269 + }, + "else": { + "operation": "boost", + "score": 0.1154937744140625 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10995271056890488 + } + }, + "else": { + "operation": "boost", + "score": 0.08426304906606674 + } + }, + "else": { + "operation": "boost", + "score": -0.007880614139139652 + } + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10542774945497513 + }, + "else": { + "operation": "boost", + "score": 0.10710291564464569 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10836680233478546 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1080503836274147 + }, + "else": { + "operation": "boost", + "score": 0.09264059364795685 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10606837272644043 + }, + "else": { + "operation": "boost", + "score": 0.07965097576379776 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09490399062633514 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10034487396478653 + }, + "else": { + "operation": "boost", + "score": 0.10210174322128296 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10113312304019928 + }, + "else": { + "operation": "boost", + "score": 0.09617829322814941 + } + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.07004562020301819 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10577782243490219 + }, + "else": { + "operation": "boost", + "score": 0.106847383081913 + } + }, + "else": { + "operation": "boost", + "score": 0.10053563117980957 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.0839870348572731 + }, + "else": { + "operation": "boost", + "score": 0.09876775741577148 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0892343744635582 + }, + "else": { + "operation": "boost", + "score": 0.048966001719236374 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10575543344020844 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.107289157807827 + }, + "else": { + "operation": "boost", + "score": 0.08067008852958679 + } + }, + "else": { + "operation": "boost", + "score": 0.10316472500562668 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09271184355020523 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10060224682092667 + }, + "else": { + "operation": "boost", + "score": 0.07902448624372482 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07441369444131851 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005435213912278414 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11504366248846054 + }, + "else": { + "operation": "boost", + "score": 0.11046569049358368 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08818120509386063 + }, + "else": { + "operation": "boost", + "score": 0.06911735236644745 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0685572400689125 + }, + "else": { + "operation": "boost", + "score": 0.022756684571504593 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10952705889940262 + } + }, + "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.10133859515190125 + }, + "else": { + "operation": "boost", + "score": 0.09115948528051376 + } + }, + "else": { + "operation": "boost", + "score": 0.07895536720752716 + } + }, + "else": { + "operation": "boost", + "score": -0.012229138985276222 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1705.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15244.5, + "then": { + "operation": "boost", + "score": 0.10333867371082306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7092.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7761.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9552.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10230.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13638.5, + "then": { + "operation": "boost", + "score": 0.16414427757263184 + }, + "else": { + "operation": "boost", + "score": 0.16401739418506622 + } + }, + "else": { + "operation": "boost", + "score": 0.16428379714488983 + } + }, + "else": { + "operation": "boost", + "score": 0.16248361766338348 + } + }, + "else": { + "operation": "boost", + "score": 0.16425453126430511 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.16434431076049805 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15754.5, + "then": { + "operation": "boost", + "score": 0.10111311078071594 + }, + "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.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_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.16244056820869446 + }, + "else": { + "operation": "boost", + "score": 0.15978936851024628 + } + }, + "else": { + "operation": "boost", + "score": 0.15780813992023468 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1466296911239624 + }, + "else": { + "operation": "boost", + "score": 0.130472332239151 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12716637551784515 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, + "then": { + "operation": "boost", + "score": 0.09861358255147934 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5193.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13100630044937134 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.16492649912834167 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13545.0, + "then": { + "operation": "boost", + "score": 0.14580011367797852 + }, + "else": { + "operation": "boost", + "score": 0.16703592240810394 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08752404153347015 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.010117894038558006 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "boost", + "score": 0.09219632297754288 + }, + "else": { + "operation": "boost", + "score": 0.09931240975856781 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0849284678697586 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11762181669473648 + }, + "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, + "then": { + "operation": "boost", + "score": 0.03649354726076126 + }, + "else": { + "operation": "boost", + "score": 0.12454203516244888 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.03793445974588394 + }, + "else": { + "operation": "boost", + "score": 0.12716634571552277 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.1544734686613083 + }, + "else": { + "operation": "boost", + "score": 0.1256604790687561 + } + }, + "else": { + "operation": "boost", + "score": 0.053082939237356186 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018881121650338173 + } + } + }, + "else": { + "operation": "boost", + "score": -0.024477804079651833 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.08478999882936478 + }, + "else": { + "operation": "boost", + "score": 0.06374208629131317 + } + }, + "else": { + "operation": "boost", + "score": 0.08724480867385864 + } + }, + "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": "boost", + "score": 0.12916502356529236 + }, + "else": { + "operation": "boost", + "score": 0.13635040819644928 + } + }, + "else": { + "operation": "boost", + "score": 0.05262274667620659 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014746605418622494 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07915506511926651 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.13709697127342224 + }, + "else": { + "operation": "boost", + "score": 0.07669385522603989 + } + }, + "else": { + "operation": "boost", + "score": 0.07607636600732803 + } + }, + "else": { + "operation": "boost", + "score": -0.01272677630186081 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09258358925580978 + } + }, + "else": { + "operation": "boost", + "score": -0.09189265966415405 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.10049449652433395 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09831368923187256 + }, + "else": { + "operation": "boost", + "score": 0.08127627521753311 + } + }, + "else": { + "operation": "boost", + "score": 0.060109417885541916 + } + }, + "else": { + "operation": "boost", + "score": 0.021202798932790756 + } + } + }, + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08629204332828522 + } + }, + "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": "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10475829243659973 + }, + "else": { + "operation": "boost", + "score": 0.10652511566877365 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10757021605968475 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10721322894096375 + }, + "else": { + "operation": "boost", + "score": 0.08584892004728317 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10471969097852707 + }, + "else": { + "operation": "boost", + "score": 0.08056440949440002 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09221700578927994 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09826888889074326 + }, + "else": { + "operation": "boost", + "score": 0.10054616630077362 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09911975264549255 + }, + "else": { + "operation": "boost", + "score": 0.09394562244415283 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.06633605062961578 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10506963729858398 + }, + "else": { + "operation": "boost", + "score": 0.10624464601278305 + } + }, + "else": { + "operation": "boost", + "score": 0.09903548657894135 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.0800936296582222 + }, + "else": { + "operation": "boost", + "score": 0.09699580818414688 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09188377857208252 + }, + "else": { + "operation": "boost", + "score": 0.04851378872990608 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "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": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10465916246175766 + }, + "else": { + "operation": "boost", + "score": 0.09044430404901505 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10582839697599411 + }, + "else": { + "operation": "boost", + "score": 0.09868748486042023 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07014150172472 + }, + "else": { + "operation": "boost", + "score": 0.08525648713111877 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1159934476017952 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + }, + "else": { + "operation": "boost", + "score": 0.09208869189023972 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04246121272444725 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10064873844385147 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11073806136846542 + }, + "else": { + "operation": "boost", + "score": 0.14962264895439148 + } + }, + "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.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10932139307260513 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13295.5, + "then": { + "operation": "boost", + "score": 0.1496506780385971 + }, + "else": { + "operation": "boost", + "score": 0.15189573168754578 + } + }, + "else": { + "operation": "boost", + "score": 0.151899054646492 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1347961127758026 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11047.0, + "then": { + "operation": "boost", + "score": 0.1413055956363678 + }, + "else": { + "operation": "boost", + "score": 0.1479451209306717 + } + }, + "else": { + "operation": "boost", + "score": 0.1477217674255371 + } + }, + "else": { + "operation": "boost", + "score": 0.13761208951473236 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13733452558517456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09864144027233124 + }, + "else": { + "operation": "boost", + "score": 0.07900962233543396 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13087229430675507 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44558.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.09662536531686783 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, + "then": { + "operation": "boost", + "score": 0.13256226480007172 + }, + "else": { + "operation": "boost", + "score": 0.11713868379592896 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05664704367518425 + } + }, + "else": { + "operation": "boost", + "score": 0.11269202083349228 + } + }, + "else": { + "operation": "boost", + "score": 0.04562809690833092 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12231980264186859 + }, + "else": { + "operation": "boost", + "score": 0.13689033687114716 + } + }, + "else": { + "operation": "boost", + "score": 0.1334041804075241 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09737318009138107 + }, + "else": { + "operation": "boost", + "score": 0.06469237059354782 + } + } + }, + "else": { + "operation": "boost", + "score": 0.054411664605140686 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08865329623222351 + }, + "else": { + "operation": "boost", + "score": 0.09678763151168823 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.012121336534619331 + }, + "else": { + "operation": "boost", + "score": 0.07746952772140503 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05840194225311279 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12272501736879349 + }, + "else": { + "operation": "boost", + "score": 0.1148177832365036 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09014997631311417 + } + }, + "else": { + "operation": "boost", + "score": 0.05617986619472504 + } + }, + "else": { + "operation": "boost", + "score": 0.03376328945159912 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1699.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "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_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.10311146080493927 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11674212664365768 + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "boost", + "score": 0.1054726094007492 + }, + "else": { + "operation": "boost", + "score": 0.0907774269580841 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16714.5, + "then": { + "operation": "boost", + "score": 0.09813396632671356 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6210.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13005930185317993 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14233925938606262 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11525369435548782 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.007217812817543745 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.10192427784204483 + }, + "else": { + "operation": "boost", + "score": 0.09338345378637314 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.09488455206155777 + }, + "else": { + "operation": "boost", + "score": 0.08881223946809769 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 288037.0, + "then": { + "operation": "boost", + "score": 0.10095564275979996 + }, + "else": { + "operation": "boost", + "score": 0.07061149924993515 + } + }, + "else": { + "operation": "boost", + "score": -0.012233059853315353 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0641697496175766 + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10407339781522751 + }, + "else": { + "operation": "boost", + "score": 0.10582074522972107 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1066904366016388 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10630552470684052 + }, + "else": { + "operation": "boost", + "score": 0.09046104550361633 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10368525981903076 + }, + "else": { + "operation": "boost", + "score": 0.07436377555131912 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08961448818445206 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09673603624105453 + }, + "else": { + "operation": "boost", + "score": 0.09901050478219986 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09739790856838226 + }, + "else": { + "operation": "boost", + "score": 0.09095931798219681 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.06222166866064072 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1045512855052948 + }, + "else": { + "operation": "boost", + "score": 0.10572907328605652 + } + }, + "else": { + "operation": "boost", + "score": 0.09737102687358856 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.07629873603582382 + }, + "else": { + "operation": "boost", + "score": 0.09484711289405823 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09377168118953705 + }, + "else": { + "operation": "boost", + "score": 0.056642431765794754 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "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": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10408452898263931 + }, + "else": { + "operation": "boost", + "score": 0.08919421583414078 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10494641959667206 + }, + "else": { + "operation": "boost", + "score": 0.09644369035959244 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07359085232019424 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11250327527523041 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06966689229011536 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13367927074432373 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50012.0, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22182656824588776 + }, + "else": { + "operation": "boost", + "score": 0.16068826615810394 + } + }, + "else": { + "operation": "boost", + "score": 0.09689470380544662 + } + }, + "else": { + "operation": "boost", + "score": 0.10562460869550705 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "boost", + "score": 0.1239996924996376 + }, + "else": { + "operation": "boost", + "score": 0.10300958156585693 + } + }, + "else": { + "operation": "boost", + "score": 0.0728248581290245 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "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_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12108343839645386 + }, + "else": { + "operation": "boost", + "score": 0.10618763417005539 + } + }, + "else": { + "operation": "boost", + "score": 0.07620950788259506 + } + }, + "else": { + "operation": "boost", + "score": 0.0901361033320427 + } + }, + "else": { + "operation": "boost", + "score": -0.11800287663936615 + } + }, + "else": { + "operation": "boost", + "score": 0.06425552815198898 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1725.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35110.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06417446583509445 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09996442496776581 + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13206784427165985 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.14177098870277405 + }, + "else": { + "operation": "boost", + "score": 0.10607752948999405 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13819581270217896 + }, + "else": { + "operation": "boost", + "score": 0.12726104259490967 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09022914618253708 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11865565180778503 + }, + "else": { + "operation": "boost", + "score": 0.05493706092238426 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace" + ], + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11473558098077774 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1242070198059082 + }, + "else": { + "operation": "boost", + "score": 0.13087376952171326 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12837177515029907 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09533433616161346 + }, + "else": { + "operation": "boost", + "score": 0.06276597082614899 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05668414756655693 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08994574844837189 + }, + "else": { + "operation": "boost", + "score": 0.06563806533813477 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1216326579451561 + }, + "else": { + "operation": "boost", + "score": -0.019875427708029747 + } + }, + "else": { + "operation": "boost", + "score": 0.08934340626001358 + } + }, + "else": { + "operation": "boost", + "score": 0.0636008083820343 + } + }, + "else": { + "operation": "boost", + "score": 0.035160209983587265 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1650.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4717.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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13973461091518402 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5742.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13422.0, + "then": { + "operation": "boost", + "score": 0.09957428276538849 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.13924232125282288 + }, + "else": { + "operation": "boost", + "score": 0.13875189423561096 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6984.0, + "then": { + "operation": "boost", + "score": 0.1399824172258377 + }, + "else": { + "operation": "boost", + "score": 0.12777367234230042 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12829403579235077 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11061595380306244 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "boost", + "score": 0.1050548329949379 + }, + "else": { + "operation": "boost", + "score": 0.08822236955165863 + } + }, + "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.12192672491073608 + }, + "else": { + "operation": "boost", + "score": 0.10848372429609299 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.09452434629201889 + }, + "else": { + "operation": "boost", + "score": 0.0821455717086792 + } + }, + "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": 56853.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": 0.07141140848398209 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11242470890283585 + }, + "else": { + "operation": "boost", + "score": 0.10103054344654083 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07299560308456421 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09245306253433228 + }, + "else": { + "operation": "boost", + "score": -0.013352756388485432 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02481076307594776 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10273339599370956 + }, + "else": { + "operation": "boost", + "score": 0.06928899884223938 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0072463564574718475 + }, + "else": { + "operation": "boost", + "score": 0.07579393684864044 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07217641919851303 + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10346285998821259 + }, + "else": { + "operation": "boost", + "score": 0.10513709485530853 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10595386475324631 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10563872754573822 + }, + "else": { + "operation": "boost", + "score": 0.0818660706281662 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10247006267309189 + }, + "else": { + "operation": "boost", + "score": 0.07078903168439865 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08732084929943085 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0955105721950531 + }, + "else": { + "operation": "boost", + "score": 0.09753786027431488 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09543503075838089 + }, + "else": { + "operation": "boost", + "score": 0.08852902054786682 + } + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.056901715695858 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10409481078386307 + }, + "else": { + "operation": "boost", + "score": 0.10527671873569489 + } + }, + "else": { + "operation": "boost", + "score": 0.09621528536081314 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08240414410829544 + }, + "else": { + "operation": "boost", + "score": 0.05859768018126488 + } + } + }, + "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": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10343572497367859 + }, + "else": { + "operation": "boost", + "score": 0.10480143874883652 + } + }, + "else": { + "operation": "if_greater", + "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, + "then": { + "operation": "boost", + "score": 0.12045948952436447 + }, + "else": { + "operation": "boost", + "score": 0.1345748007297516 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08858947455883026 + }, + "else": { + "operation": "boost", + "score": 0.045309700071811676 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10903596878051758 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12681925296783447 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1451800912618637 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13220055401325226 + }, + "else": { + "operation": "boost", + "score": 0.13093608617782593 + } + }, + "else": { + "operation": "boost", + "score": -0.22528494894504547 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1888907104730606 + }, + "else": { + "operation": "boost", + "score": 0.15289288759231567 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09363268315792084 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09999581426382065 + }, + "else": { + "operation": "boost", + "score": 0.0684434175491333 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "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_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11735689640045166 + }, + "else": { + "operation": "boost", + "score": 0.10240394622087479 + } + }, + "else": { + "operation": "boost", + "score": 0.07157846540212631 + } + }, + "else": { + "operation": "boost", + "score": 0.08457819372415543 + } + }, + "else": { + "operation": "boost", + "score": -0.1147608533501625 + } + }, + "else": { + "operation": "boost", + "score": 0.05840471014380455 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1725.0, + "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.10337277501821518 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11929599940776825 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.12901097536087036 + }, + "else": { + "operation": "boost", + "score": 0.12644335627555847 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "then": { + "operation": "boost", + "score": 0.11099577695131302 + }, + "else": { + "operation": "boost", + "score": 0.10798146575689316 + } + }, + "else": { + "operation": "boost", + "score": 0.06760342419147491 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.5, + "then": { + "operation": "boost", + "score": 0.08629731833934784 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5490.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.13515016436576843 + }, + "else": { + "operation": "boost", + "score": 0.09902315586805344 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11950603127479553 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1133033037185669 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08588161319494247 + }, + "else": { + "operation": "boost", + "score": 0.0453762486577034 + } + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 15.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.1140681728720665 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11976806074380875 + }, + "else": { + "operation": "boost", + "score": 0.1277199536561966 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1224382296204567 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0644155964255333 + }, + "else": { + "operation": "boost", + "score": 0.09638749808073044 + } + } + }, + "else": { + "operation": "boost", + "score": 0.050411541014909744 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.027439605444669724 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "boost", + "score": 0.1368388831615448 + }, + "else": { + "operation": "boost", + "score": 0.10888572037220001 + } + }, + "else": { + "operation": "boost", + "score": 0.028319979086518288 + } + }, + "else": { + "operation": "boost", + "score": 0.08149756491184235 + } + }, + "else": { + "operation": "boost", + "score": 0.054776065051555634 + } + }, + "else": { + "operation": "boost", + "score": 0.03256544470787048 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1650.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "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_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.10137192904949188 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11891563981771469 + } + }, + "else": { + "operation": "boost", + "score": 0.10866137593984604 + } + }, + "else": { + "operation": "boost", + "score": 0.10281828790903091 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "boost", + "score": 0.10380405187606812 + }, + "else": { + "operation": "boost", + "score": 0.0836712047457695 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.007956630550324917 + }, + "else": { + "operation": "boost", + "score": 0.08330721408128738 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.09231899678707123 + }, + "else": { + "operation": "boost", + "score": 0.0771690085530281 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06724405288696289 + }, + "else": { + "operation": "boost", + "score": 0.11041343212127686 + } + }, + "else": { + "operation": "boost", + "score": 0.06323271244764328 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0798865407705307 + }, + "else": { + "operation": "boost", + "score": -0.011761607602238655 + } + } + }, + "else": { + "operation": "boost", + "score": -0.021511465311050415 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": -0.04529716819524765 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "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, + "then": { + "operation": "boost", + "score": 0.0823080837726593 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08400766551494598 + }, + "else": { + "operation": "boost", + "score": 0.05899854749441147 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0025981375947594643 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.09539608657360077 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10618367791175842 + }, + "else": { + "operation": "boost", + "score": 0.09668980538845062 + } + }, + "else": { + "operation": "boost", + "score": 0.007574618794023991 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09704615920782089 + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10289645195007324 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10559941828250885 + }, + "else": { + "operation": "boost", + "score": 0.10121576488018036 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10554146766662598 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10497993975877762 + }, + "else": { + "operation": "boost", + "score": 0.08021402359008789 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10113729536533356 + }, + "else": { + "operation": "boost", + "score": 0.07241463661193848 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08416678011417389 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09399854391813278 + }, + "else": { + "operation": "boost", + "score": 0.09609213471412659 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09344270825386047 + }, + "else": { + "operation": "boost", + "score": 0.08575307577848434 + } + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.054672401398420334 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10375172644853592 + }, + "else": { + "operation": "boost", + "score": 0.10479442775249481 + } + }, + "else": { + "operation": "boost", + "score": 0.09448496997356415 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07908003032207489 + }, + "else": { + "operation": "boost", + "score": 0.05278955399990082 + } + } + }, + "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": "IsInBaseClass", + "threshold": 0.5, + "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 + }, + "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, + "then": { + "operation": "boost", + "score": 0.1195402443408966 + }, + "else": { + "operation": "boost", + "score": 0.11504684388637543 + } + }, + "else": { + "operation": "boost", + "score": 0.13038097321987152 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08460786193609238 + }, + "else": { + "operation": "boost", + "score": 0.036388907581567764 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10393735766410828 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11663619428873062 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.14036932587623596 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50012.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10583335161209106 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12476810812950134 + }, + "else": { + "operation": "boost", + "score": -0.19987453520298004 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09774478524923325 + }, + "else": { + "operation": "boost", + "score": 0.06747599691152573 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "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_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08100167661905289 + }, + "else": { + "operation": "boost", + "score": 0.12757834792137146 + } + }, + "else": { + "operation": "boost", + "score": 0.09702706336975098 + } + }, + "else": { + "operation": "boost", + "score": 0.06618588417768478 + } + }, + "else": { + "operation": "boost", + "score": 0.07960610091686249 + } + }, + "else": { + "operation": "boost", + "score": -0.1190730556845665 + } + }, + "else": { + "operation": "boost", + "score": 0.05507010221481323 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1725.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05185185745358467 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.10747496038675308 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, + "then": { + "operation": "boost", + "score": 0.1220589354634285 + }, + "else": { + "operation": "boost", + "score": 0.110171377658844 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10486584156751633 + } + }, + "else": { + "operation": "boost", + "score": 0.06539074331521988 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.5, + "then": { + "operation": "boost", + "score": 0.08397191017866135 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5490.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12958092987537384 + }, + "else": { + "operation": "boost", + "score": 0.1014154702425003 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11483550816774368 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1073651909828186 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08355012536048889 + }, + "else": { + "operation": "boost", + "score": 0.04151604697108269 + } + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11065471917390823 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11011452227830887 + }, + "else": { + "operation": "boost", + "score": 0.12320083379745483 + } + }, + "else": { + "operation": "boost", + "score": 0.12088781595230103 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.059502385556697845 + }, + "else": { + "operation": "boost", + "score": 0.09342822432518005 + } + } + }, + "else": { + "operation": "boost", + "score": 0.050041452050209045 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.025844372808933258 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0818668082356453 + }, + "else": { + "operation": "boost", + "score": 0.05196448788046837 + } + }, + "else": { + "operation": "boost", + "score": 0.029420580714941025 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 909.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1656.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 + } + }, + "else": { + "operation": "boost", + "score": 0.08848937600851059 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08787326514720917 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11274310946464539 + }, + "else": { + "operation": "boost", + "score": 0.07430484145879745 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "boost", + "score": 0.09042003750801086 + }, + "else": { + "operation": "boost", + "score": 0.07714907824993134 + } + }, + "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": 61550.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": 0.06142816320061684 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07436604797840118 + }, + "else": { + "operation": "boost", + "score": 0.10195228457450867 + } + } + }, + "else": { + "operation": "boost", + "score": 0.065093994140625 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0817922055721283 + }, + "else": { + "operation": "boost", + "score": -0.002316777128726244 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01453655119985342 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "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_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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09651633352041245 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04402879625558853 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08828217536211014 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07492641359567642 + }, + "else": { + "operation": "boost", + "score": 0.04572400078177452 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013597044162452221 + } + }, + "else": { + "operation": "boost", + "score": -0.046211376786231995 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "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 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08071067929267883 + }, + "else": { + "operation": "boost", + "score": 0.06223316863179207 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09493231773376465 + } + } + } + } + } + } + }, + { + "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": 7.5, + "then": { + "operation": "boost", + "score": 0.10264527052640915 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10489881038665771 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10437682271003723 + }, + "else": { + "operation": "boost", + "score": 0.0802333727478981 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09994347393512726 + }, + "else": { + "operation": "boost", + "score": 0.060232557356357574 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0817403569817543 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09252127259969711 + }, + "else": { + "operation": "boost", + "score": 0.09450525045394897 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0915725901722908 + }, + "else": { + "operation": "boost", + "score": 0.08280669152736664 + } + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04873732104897499 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.10347753763198853 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.05015045031905174 + }, + "else": { + "operation": "boost", + "score": 0.10372795164585114 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10346512496471405 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07601431012153625 + }, + "else": { + "operation": "boost", + "score": 0.04813560098409653 + } + } + }, + "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", + "threshold": 0.5, + "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", + "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, + "then": { + "operation": "boost", + "score": 0.11776190251111984 + }, + "else": { + "operation": "boost", + "score": 0.10369101166725159 + } + }, + "else": { + "operation": "boost", + "score": 0.12381992489099503 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08148475736379623 + }, + "else": { + "operation": "boost", + "score": 0.03901784121990204 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10409499704837799 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10786571353673935 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13523899018764496 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50012.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10241858661174774 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11960893869400024 + }, + "else": { + "operation": "boost", + "score": -0.18569806218147278 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13473941385746002 + } + }, + "else": { + "operation": "boost", + "score": 0.08659501373767853 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09053777158260345 + } + }, + "else": { + "operation": "boost", + "score": 0.06539124250411987 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.11111187189817429 + }, + "else": { + "operation": "boost", + "score": 0.09174435585737228 + } + }, + "else": { + "operation": "boost", + "score": 0.06132388859987259 + } + }, + "else": { + "operation": "boost", + "score": 0.07579519599676132 + } + }, + "else": { + "operation": "boost", + "score": -0.11624091118574142 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046834032982587814 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.1027645394206047 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11692839860916138 + }, + "else": { + "operation": "boost", + "score": 0.12259544432163239 + } + }, + "else": { + "operation": "boost", + "score": 0.10792238265275955 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07262290269136429 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10054571181535721 + }, + "else": { + "operation": "boost", + "score": 0.05100850388407707 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.5, + "then": { + "operation": "boost", + "score": 0.08216413855552673 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5490.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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.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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12524397671222687 + }, + "else": { + "operation": "boost", + "score": 0.10113266855478287 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11101806163787842 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10289492458105087 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08053463697433472 + }, + "else": { + "operation": "boost", + "score": 0.03829208388924599 + } + } + } + }, + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.029490821063518524 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009621811099350452 + }, + "else": { + "operation": "boost", + "score": 0.06325340270996094 + } + }, + "else": { + "operation": "boost", + "score": 0.03681644797325134 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5087.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14114.0, + "then": { + "operation": "boost", + "score": 0.09462972730398178 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13638.5, + "then": { + "operation": "boost", + "score": 0.12264420837163925 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6044.0, + "then": { + "operation": "boost", + "score": 0.12217102944850922 + }, + "else": { + "operation": "boost", + "score": 0.1145896166563034 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13272212445735931 + } + }, + "else": { + "operation": "boost", + "score": 0.09330635517835617 + } + }, + "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", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11402613669633865 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 929.0, + "then": { + "operation": "boost", + "score": 0.11147957295179367 + }, + "else": { + "operation": "boost", + "score": 0.18562868237495422 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09394195675849915 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 299159.5, + "then": { + "operation": "boost", + "score": 0.10230851173400879 + }, + "else": { + "operation": "boost", + "score": 0.1169714480638504 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05342864990234375 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11262882500886917 + }, + "else": { + "operation": "boost", + "score": 0.05747036635875702 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08693502098321915 + } + }, + "else": { + "operation": "boost", + "score": 0.033080317080020905 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08121377974748611 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09683585911989212 + }, + "else": { + "operation": "boost", + "score": 0.06918530911207199 + } + }, + "else": { + "operation": "boost", + "score": 0.0432051420211792 + } + }, + "else": { + "operation": "boost", + "score": -0.04517224431037903 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0946466326713562 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.15636539459228516 + } + }, + "else": { + "operation": "boost", + "score": 0.09548258036375046 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0002843864494934678 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10425072908401489 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10374870896339417 + }, + "else": { + "operation": "boost", + "score": 0.07537541538476944 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09894438832998276 + }, + "else": { + "operation": "boost", + "score": 0.053375497460365295 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.08917411416769028 + }, + "else": { + "operation": "boost", + "score": 0.09276830404996872 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08913584053516388 + }, + "else": { + "operation": "boost", + "score": 0.07973472028970718 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1232488602399826 + }, + "else": { + "operation": "boost", + "score": 0.11024264991283417 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10016772896051407 + }, + "else": { + "operation": "boost", + "score": 0.07470129430294037 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10278242081403732 + }, + "else": { + "operation": "boost", + "score": 0.0862225592136383 + } + } + }, + "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.11479891836643219 + }, + "else": { + "operation": "boost", + "score": 0.0970543920993805 + } + }, + "else": { + "operation": "boost", + "score": 0.11882815510034561 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.07862924784421921 + }, + "else": { + "operation": "boost", + "score": 0.03919783607125282 + } + } + } + }, + "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.11555040627717972 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0692567378282547 + }, + "else": { + "operation": "boost", + "score": 0.09319274127483368 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09900888800621033 + }, + "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.10132234543561935 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12967781722545624 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07058960199356079 + }, + "else": { + "operation": "boost", + "score": 0.11566771566867828 + } + }, + "else": { + "operation": "boost", + "score": 0.1280815601348877 + } + }, + "else": { + "operation": "boost", + "score": 0.08897686749696732 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.061247020959854126 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10860607773065567 + }, + "else": { + "operation": "boost", + "score": 0.08843068033456802 + } + }, + "else": { + "operation": "boost", + "score": 0.056952424347400665 + } + }, + "else": { + "operation": "boost", + "score": -0.11591225117444992 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1602.0, + "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": 61155.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09448675811290741 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.08971982449293137 + }, + "else": { + "operation": "boost", + "score": 0.11960139870643616 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08026882261037827 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03238247334957123 + }, + "else": { + "operation": "boost", + "score": 0.08530324697494507 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "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.08758268505334854 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11697884649038315 + }, + "else": { + "operation": "boost", + "score": 0.12132053822278976 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11067884415388107 + }, + "else": { + "operation": "boost", + "score": 0.06343237310647964 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11376895010471344 + }, + "else": { + "operation": "boost", + "score": 0.10469948500394821 + } + }, + "else": { + "operation": "boost", + "score": 0.03374813497066498 + } + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10422766953706741 + }, + "else": { + "operation": "boost", + "score": 0.11433010548353195 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.052192382514476776 + }, + "else": { + "operation": "boost", + "score": 0.08656593412160873 + } + } + }, + "else": { + "operation": "boost", + "score": 0.046632226556539536 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.023542948067188263 + }, + "else": { + "operation": "boost", + "score": 0.07778096944093704 + } + }, + "else": { + "operation": "boost", + "score": -0.04503391310572624 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06499651074409485 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023151716217398643 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09969199448823929 + }, + "else": { + "operation": "boost", + "score": 0.10217908024787903 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06553801894187927 + }, + "else": { + "operation": "boost", + "score": 0.005520797334611416 + } + } + }, + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10243672132492065 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78490.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 164855.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13376128673553467 + }, + "else": { + "operation": "boost", + "score": 0.11604098230600357 + } + }, + "else": { + "operation": "boost", + "score": 0.08884632587432861 + } + }, + "else": { + "operation": "boost", + "score": 0.06318219006061554 + } + }, + "else": { + "operation": "boost", + "score": 0.04525861144065857 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.026463093236088753 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08474757522344589 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 904.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 928.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0955527052283287 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11466370522975922 + }, + "else": { + "operation": "boost", + "score": 0.10112972557544708 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04210742563009262 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": 0.11319028586149216 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1099647507071495 + }, + "else": { + "operation": "boost", + "score": 0.11557936668395996 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10539823025465012 + } + }, + "else": { + "operation": "boost", + "score": 0.04854491353034973 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07708724588155746 + } + }, + "else": { + "operation": "boost", + "score": 0.07764627784490585 + } + }, + "else": { + "operation": "boost", + "score": 0.02850906364619732 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07766168564558029 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": 0.06242740899324417 + }, + "else": { + "operation": "boost", + "score": 0.09912986308336258 + } + }, + "else": { + "operation": "boost", + "score": 0.07295656204223633 + } + }, + "else": { + "operation": "boost", + "score": 0.023005185648798943 + } + }, + "else": { + "operation": "boost", + "score": -0.06885690987110138 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08618362993001938 + }, + "else": { + "operation": "boost", + "score": 0.08161277323961258 + } + }, + "else": { + "operation": "boost", + "score": 0.02776731178164482 + } + }, + "else": { + "operation": "boost", + "score": 0.011761567555367947 + } + }, + "else": { + "operation": "boost", + "score": 0.07284608483314514 + } + }, + "else": { + "operation": "boost", + "score": -0.04987872764468193 + } + } + } + } + } + } + } + }, + { + "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.10349997133016586 + }, + "else": { + "operation": "boost", + "score": 0.10347364842891693 + } + }, + "else": { + "operation": "boost", + "score": 0.09947444498538971 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10370954871177673 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10299117118120193 + }, + "else": { + "operation": "boost", + "score": 0.07372965663671494 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0972370132803917 + }, + "else": { + "operation": "boost", + "score": 0.047327857464551926 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07599584758281708 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.08709666877985 + }, + "else": { + "operation": "boost", + "score": 0.09132573753595352 + } + }, + "else": { + "operation": "boost", + "score": 0.0842408761382103 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04284622520208359 + } + } + } + }, + "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", + "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 + } + } + }, + "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.1110326498746872 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11455421894788742 + }, + "else": { + "operation": "boost", + "score": 0.12261371314525604 + } + }, + "else": { + "operation": "boost", + "score": 0.11435206979513168 + } + }, + "else": { + "operation": "boost", + "score": 0.07993334531784058 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09562379121780396 + }, + "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.09277452528476715 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12531565129756927 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50012.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05070196092128754 + }, + "else": { + "operation": "boost", + "score": 0.11253684014081955 + } + }, + "else": { + "operation": "boost", + "score": 0.12252412736415863 + } + }, + "else": { + "operation": "boost", + "score": 0.08618483692407608 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.058409422636032104 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07124388962984085 + }, + "else": { + "operation": "boost", + "score": 0.12063263356685638 + } + }, + "else": { + "operation": "boost", + "score": 0.0840613842010498 + } + }, + "else": { + "operation": "boost", + "score": 0.04969058185815811 + } + }, + "else": { + "operation": "boost", + "score": -0.11424067616462708 + } + }, + "else": { + "operation": "boost", + "score": 0.06122210621833801 + } + }, + "else": { + "operation": "boost", + "score": 0.04426034539937973 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1526.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.08743396401405334 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07911691814661026 + }, + "else": { + "operation": "boost", + "score": 0.11698608100414276 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07248363643884659 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "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.08375898003578186 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12192316353321075 + }, + "else": { + "operation": "boost", + "score": 0.11806423962116241 + } + }, + "else": { + "operation": "boost", + "score": 0.10902037471532822 + } + }, + "else": { + "operation": "boost", + "score": 0.12337109446525574 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "then": { + "operation": "boost", + "score": 0.10177166759967804 + }, + "else": { + "operation": "boost", + "score": 0.09691527485847473 + } + }, + "else": { + "operation": "boost", + "score": 0.05981089919805527 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10384076088666916 + }, + "else": { + "operation": "boost", + "score": 0.03306819871068001 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10033988952636719 + }, + "else": { + "operation": "boost", + "score": 0.1106494888663292 + } + }, + "else": { + "operation": "boost", + "score": 0.04878442361950874 + } + }, + "else": { + "operation": "boost", + "score": 0.04543161019682884 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.0019353870302438736 + }, + "else": { + "operation": "boost", + "score": 0.07279040664434433 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06279809027910233 + }, + "else": { + "operation": "boost", + "score": 0.0716376081109047 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023744851350784302 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.10308312624692917 + }, + "else": { + "operation": "boost", + "score": 0.0915173590183258 + } + }, + "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 + } + } + }, + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10054360330104828 + }, + "else": { + "operation": "boost", + "score": 0.11053332686424255 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13345417380332947 + }, + "else": { + "operation": "boost", + "score": 0.11601632833480835 + } + }, + "else": { + "operation": "boost", + "score": 0.05976835638284683 + } + }, + "else": { + "operation": "boost", + "score": 0.04689010977745056 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05062413588166237 + }, + "else": { + "operation": "boost", + "score": -0.0011770084965974092 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08236038684844971 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 784.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14304.5, + "then": { + "operation": "boost", + "score": 0.09638631343841553 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12571857869625092 + }, + "else": { + "operation": "boost", + "score": 0.1514405757188797 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12821471691131592 + }, + "else": { + "operation": "boost", + "score": 0.11031261086463928 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10517185926437378 + }, + "else": { + "operation": "boost", + "score": 0.12462078034877777 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10714787989854813 + } + }, + "else": { + "operation": "boost", + "score": 0.0863102376461029 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.02672211453318596 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11405375599861145 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.001344500109553337 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.05701034143567085 + }, + "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": "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 + } + }, + "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": "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": "boost", + "score": 0.10317104309797287 + }, + "else": { + "operation": "boost", + "score": 0.09852032363414764 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10317414999008179 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10249586403369904 + }, + "else": { + "operation": "boost", + "score": 0.06983542442321777 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09635068476200104 + }, + "else": { + "operation": "boost", + "score": 0.050445348024368286 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07294853031635284 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08919090777635574 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08528987318277359 + }, + "else": { + "operation": "boost", + "score": 0.07258246839046478 + } + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.039224185049533844 + } + } + } + }, + "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": "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 + } + } + }, + "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", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "boost", + "score": 0.11094904690980911 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05151185020804405 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08578986674547195 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12134730815887451 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0317855104804039 + }, + "else": { + "operation": "boost", + "score": 0.1104658991098404 + } + }, + "else": { + "operation": "boost", + "score": 0.1179448738694191 + } + }, + "else": { + "operation": "boost", + "score": 0.0833333358168602 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05554874986410141 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06775334477424622 + }, + "else": { + "operation": "boost", + "score": 0.11755909025669098 + } + }, + "else": { + "operation": "boost", + "score": 0.08103372156620026 + } + }, + "else": { + "operation": "boost", + "score": 0.047020163387060165 + } + }, + "else": { + "operation": "boost", + "score": -0.11120429635047913 + } + }, + "else": { + "operation": "boost", + "score": 0.05743131414055824 + } + }, + "else": { + "operation": "boost", + "score": 0.0399249866604805 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1526.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.1170264407992363 + }, + "else": { + "operation": "boost", + "score": 0.0397065244615078 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "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.08143309503793716 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11820661276578903 + }, + "else": { + "operation": "boost", + "score": 0.10873804241418839 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10156117379665375 + }, + "else": { + "operation": "boost", + "score": 0.030966348946094513 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.1068117767572403 + }, + "else": { + "operation": "boost", + "score": 0.045110173523426056 + } + }, + "else": { + "operation": "boost", + "score": 0.04402923583984375 + } + }, + "else": { + "operation": "boost", + "score": -0.022935830056667328 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.12150655686855316 + }, + "else": { + "operation": "boost", + "score": 0.08722130954265594 + } + }, + "else": { + "operation": "boost", + "score": 0.062367070466279984 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0239563025534153 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.10283591598272324 + }, + "else": { + "operation": "boost", + "score": 0.08974441885948181 + } + }, + "else": { + "operation": "boost", + "score": 0.04522610828280449 + } + }, + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.09704101085662842 + }, + "else": { + "operation": "boost", + "score": 0.10769888758659363 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.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 + } + }, + "else": { + "operation": "boost", + "score": 0.04508739337325096 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030676132068037987 + } + }, + "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": 9.5, + "then": { + "operation": "boost", + "score": 0.04561445862054825 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13154682517051697 + }, + "else": { + "operation": "boost", + "score": 0.13242779672145844 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07795534282922745 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1268874555826187 + }, + "else": { + "operation": "boost", + "score": 0.1243741363286972 + } + }, + "else": { + "operation": "boost", + "score": -0.19574615359306335 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04081283137202263 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6499.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6741.5, + "then": { + "operation": "boost", + "score": 0.10710500180721283 + }, + "else": { + "operation": "boost", + "score": 0.1310165375471115 + } + }, + "else": { + "operation": "boost", + "score": -0.01603865809738636 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04530815780162811 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02455821819603443 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.10716240108013153 + }, + "else": { + "operation": "boost", + "score": 0.05571342632174492 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08697590976953506 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08288808912038803 + }, + "else": { + "operation": "boost", + "score": 0.06341151893138885 + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09189768880605698 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15092.0, + "then": { + "operation": "boost", + "score": 0.0769498273730278 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1060.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1302.0, + "then": { + "operation": "boost", + "score": 0.11563973873853683 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10594621300697327 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10543914884328842 + } + }, + "else": { + "operation": "boost", + "score": 0.09381334483623505 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": 0.06911173462867737 + }, + "else": { + "operation": "boost", + "score": 0.11136452853679657 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78428.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05835540592670441 + }, + "else": { + "operation": "boost", + "score": 0.10920204967260361 + } + }, + "else": { + "operation": "boost", + "score": 0.08828527480363846 + } + }, + "else": { + "operation": "boost", + "score": 0.020991280674934387 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008436476811766624 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0832383781671524 + } + }, + "else": { + "operation": "boost", + "score": -0.09223195165395737 + } + } + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.10231494903564453 + }, + "else": { + "operation": "boost", + "score": 0.09746837615966797 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10255756229162216 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10162579268217087 + }, + "else": { + "operation": "boost", + "score": 0.06743768602609634 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0950905978679657 + }, + "else": { + "operation": "boost", + "score": 0.04458523541688919 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06984450668096542 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08741093426942825 + }, + "else": { + "operation": "boost", + "score": 0.07875257730484009 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03754175081849098 + } + } + } + }, + "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", + "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 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29185.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07286392152309418 + }, + "else": { + "operation": "boost", + "score": 0.11243772506713867 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.060289885848760605 + }, + "else": { + "operation": "boost", + "score": 0.09371485561132431 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08396506309509277 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.07739503681659698 + }, + "else": { + "operation": "boost", + "score": 0.029660968109965324 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008384735323488712 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.11590508371591568 + }, + "else": { + "operation": "boost", + "score": 0.03498495742678642 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10936008393764496 + }, + "else": { + "operation": "boost", + "score": 0.11728876084089279 + } + }, + "else": { + "operation": "boost", + "score": 0.10569539666175842 + } + }, + "else": { + "operation": "boost", + "score": 0.06894300132989883 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03206467255949974 + }, + "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": "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" + ], + "then": { + "operation": "boost", + "score": 0.05169859528541565 + }, + "else": { + "operation": "boost", + "score": -0.07508676499128342 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10729008913040161 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1492.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "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.0772269070148468 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.11730174720287323 + }, + "else": { + "operation": "boost", + "score": 0.1083369106054306 + } + }, + "else": { + "operation": "boost", + "score": 0.11808299273252487 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0975489392876625 + }, + "else": { + "operation": "boost", + "score": 0.05313817039132118 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09810996055603027 + }, + "else": { + "operation": "boost", + "score": 0.02790028788149357 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.04645013064146042 + }, + "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": 25.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11502619087696075 + }, + "else": { + "operation": "boost", + "score": 0.13302244246006012 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09115682542324066 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10465940088033676 + }, + "else": { + "operation": "boost", + "score": 0.061006393283605576 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01946527324616909 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0641263797879219 + }, + "else": { + "operation": "boost", + "score": -0.013933273032307625 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 452.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1088225394487381 + }, + "else": { + "operation": "boost", + "score": 0.08551312237977982 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.2814110219478607 + }, + "else": { + "operation": "boost", + "score": 0.11063823848962784 + } + }, + "else": { + "operation": "boost", + "score": 0.058206234127283096 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036729246377944946 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07751098275184631 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 308.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 788.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14988.5, + "then": { + "operation": "boost", + "score": 0.09375658631324768 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1061079204082489 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1532.0, + "then": { + "operation": "boost", + "score": 0.10263563692569733 + }, + "else": { + "operation": "boost", + "score": 0.13889969885349274 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09154869616031647 + } + }, + "else": { + "operation": "boost", + "score": 0.0783262699842453 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08204013109207153 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 413.5, + "then": { + "operation": "boost", + "score": 0.1391487717628479 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350.5, + "then": { + "operation": "boost", + "score": 0.18112973868846893 + }, + "else": { + "operation": "boost", + "score": 0.15878742933273315 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11756277829408646 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03974201902747154 + }, + "else": { + "operation": "boost", + "score": 0.0954483151435852 + } + }, + "else": { + "operation": "boost", + "score": 0.05218113958835602 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.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": 296854.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1076565682888031 + }, + "else": { + "operation": "boost", + "score": 0.06406039744615555 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08700468391180038 + } + }, + "else": { + "operation": "boost", + "score": 0.007236940320581198 + } + }, + "else": { + "operation": "boost", + "score": 0.03784993663430214 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006847409065812826 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03505103290081024 + } + } + } + } + } + } + }, + { + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.10097426176071167 + }, + "else": { + "operation": "boost", + "score": 0.10189419984817505 + } + }, + "else": { + "operation": "boost", + "score": 0.09693792462348938 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10178861021995544 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10103567689657211 + }, + "else": { + "operation": "boost", + "score": 0.0661257952451706 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09368909895420074 + }, + "else": { + "operation": "boost", + "score": 0.03977050632238388 + } + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.08078170567750931 + }, + "else": { + "operation": "boost", + "score": 0.05190939083695412 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08541058003902435 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07998327165842056 + }, + "else": { + "operation": "boost", + "score": 0.06645836681127548 + } + } + } + }, + "else": { + "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": "boost", + "score": 0.17886483669281006 + }, + "else": { + "operation": "boost", + "score": 0.10980907082557678 + } + }, + "else": { + "operation": "boost", + "score": 0.09844259917736053 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06912992149591446 + }, + "else": { + "operation": "boost", + "score": 0.03414435312151909 + } + } + } + } + }, + "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": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09602256119251251 + }, + "else": { + "operation": "boost", + "score": 0.09923789650201797 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048316363245248795 + }, + "else": { + "operation": "boost", + "score": 0.0349167101085186 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09278217703104019 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11376544088125229 + }, + "else": { + "operation": "boost", + "score": 0.08682199567556381 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10838141292333603 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11737262457609177 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10139427334070206 + }, + "else": { + "operation": "boost", + "score": 0.10865137726068497 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05643971636891365 + } + }, + "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": "boost", + "score": 0.04066738858819008 + }, + "else": { + "operation": "boost", + "score": 0.10658623278141022 + } + }, + "else": { + "operation": "boost", + "score": -0.1380356103181839 + } + }, + "else": { + "operation": "boost", + "score": 0.06356912106275558 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016489721834659576 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007355343084782362 + }, + "else": { + "operation": "boost", + "score": 0.05024437606334686 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1195.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31775.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07805802673101425 + }, + "else": { + "operation": "boost", + "score": 0.11077507585287094 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05533948540687561 + }, + "else": { + "operation": "boost", + "score": 0.09193756431341171 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05721262842416763 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "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.073412224650383 + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0952945277094841 + }, + "else": { + "operation": "boost", + "score": 0.0500744953751564 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10364629328250885 + }, + "else": { + "operation": "boost", + "score": 0.03306063637137413 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "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": 27.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07009505480527878 + }, + "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, + "then": { + "operation": "boost", + "score": 0.11694040894508362 + }, + "else": { + "operation": "boost", + "score": 0.058899279683828354 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.07095729559659958 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.03535684943199158 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.10210424661636353 + }, + "else": { + "operation": "boost", + "score": 0.0855969488620758 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 452.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.09702063351869583 + }, + "else": { + "operation": "boost", + "score": 0.10337704420089722 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.049228399991989136 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03365390747785568 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07288984209299088 + }, + "else": { + "operation": "boost", + "score": 0.007631784304976463 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10071196407079697 + }, + "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.07794711738824844 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07103056460618973 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07276590913534164 + } + }, + "else": { + "operation": "boost", + "score": 0.06745424121618271 + } + }, + "else": { + "operation": "boost", + "score": 0.050259847193956375 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09592819958925247 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006533997133374214 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 308.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.15069833397865295 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 662.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13589.5, + "then": { + "operation": "boost", + "score": 0.08151361346244812 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11503397673368454 + }, + "else": { + "operation": "boost", + "score": 0.1044897511601448 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11524175852537155 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67685.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.09716345369815826 + }, + "else": { + "operation": "boost", + "score": -0.18655560910701752 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11047524958848953 + }, + "else": { + "operation": "boost", + "score": 0.10147083550691605 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04419950395822525 + } + }, + "else": { + "operation": "boost", + "score": 0.05305188149213791 + } + }, + "else": { + "operation": "boost", + "score": -0.006717059761285782 + } + } + }, + "else": { + "operation": "boost", + "score": -0.057582806795835495 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09054472297430038 + } + }, + "else": { + "operation": "boost", + "score": -0.06598731875419617 + } + } + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.10124675929546356 + }, + "else": { + "operation": "boost", + "score": 0.09285930544137955 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1014610007405281 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10012288391590118 + }, + "else": { + "operation": "boost", + "score": 0.06332584470510483 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09250196814537048 + }, + "else": { + "operation": "boost", + "score": 0.043563105165958405 + } + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.07835584133863449 + }, + "else": { + "operation": "boost", + "score": 0.048411041498184204 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08338829129934311 + }, + "else": { + "operation": "boost", + "score": 0.07253363728523254 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03138946369290352 + } + } + } + }, + "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": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09498561918735504 + }, + "else": { + "operation": "boost", + "score": 0.09923762828111649 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061987437307834625 + }, + "else": { + "operation": "boost", + "score": 0.07265685498714447 + } + } + }, + "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": 475.5, + "then": { + "operation": "boost", + "score": 0.10139583796262741 + }, + "else": { + "operation": "boost", + "score": 0.07110645622015 + } + }, + "else": { + "operation": "boost", + "score": 0.10307545959949493 + } + }, + "else": { + "operation": "if_greater", + "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, + "then": { + "operation": "boost", + "score": 0.09861242771148682 + }, + "else": { + "operation": "boost", + "score": 0.10781523585319519 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04344397038221359 + }, + "else": { + "operation": "boost", + "score": 0.10361098498106003 + } + }, + "else": { + "operation": "boost", + "score": -0.1097855344414711 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1178.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14674.5, + "then": { + "operation": "boost", + "score": 0.06036337837576866 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6235.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1068221852183342 + }, + "else": { + "operation": "boost", + "score": 0.11107225716114044 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, + "then": { + "operation": "boost", + "score": 0.07316617667675018 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11385847628116608 + }, + "else": { + "operation": "boost", + "score": 0.11419351398944855 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0744856595993042 + } + }, + "else": { + "operation": "boost", + "score": 0.1668325513601303 + } + }, + "else": { + "operation": "boost", + "score": 0.035817261785268784 + } + } + } + }, + "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.1905013769865036 + }, + "else": { + "operation": "boost", + "score": 0.1673155277967453 + } + }, + "else": { + "operation": "boost", + "score": 0.11372430622577667 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015171756036579609 + }, + "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": 27.0, + "then": { + "operation": "boost", + "score": 0.10092204064130783 + }, + "else": { + "operation": "boost", + "score": 0.08069773018360138 + } + }, + "else": { + "operation": "boost", + "score": 0.06975903362035751 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50016.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11259704828262329 + } + }, + "else": { + "operation": "boost", + "score": 0.021767260506749153 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.0738423690199852 + }, + "else": { + "operation": "boost", + "score": 0.06028750166296959 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.035119786858558655 + }, + "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": 88.5, + "then": { + "operation": "boost", + "score": 0.12957069277763367 + }, + "else": { + "operation": "boost", + "score": 0.11618912220001221 + } + }, + "else": { + "operation": "boost", + "score": 0.11333989351987839 + } + }, + "else": { + "operation": "boost", + "score": 0.06519083678722382 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.04290703311562538 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08518723398447037 + }, + "else": { + "operation": "boost", + "score": 0.06728321313858032 + } + }, + "else": { + "operation": "boost", + "score": 0.030515948310494423 + } + }, + "else": { + "operation": "boost", + "score": 0.01241842657327652 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005623947363346815 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014197301119565964 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 310.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": 796.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": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14988.5, + "then": { + "operation": "boost", + "score": 0.0829562246799469 + }, + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 799.5, + "then": { + "operation": "boost", + "score": 0.0755147784948349 + }, + "else": { + "operation": "boost", + "score": 0.17314784228801727 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "boost", + "score": 0.08285542577505112 + }, + "else": { + "operation": "boost", + "score": 0.0566609725356102 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.2082969844341278 + }, + "else": { + "operation": "boost", + "score": 0.11110053211450577 + } + }, + "else": { + "operation": "boost", + "score": 0.0639091432094574 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3078.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.023112675175070763 + }, + "else": { + "operation": "boost", + "score": 0.06524552404880524 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.04072462394833565 + }, + "else": { + "operation": "boost", + "score": 0.14632435142993927 + } + } + }, + "else": { + "operation": "boost", + "score": -0.009377454407513142 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.021269306540489197 + }, + "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_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_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.058441802859306335 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14794430136680603 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1517769694328308 + }, + "else": { + "operation": "boost", + "score": 0.13969451189041138 + } + }, + "else": { + "operation": "boost", + "score": 0.14858859777450562 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.2229032665491104 + }, + "else": { + "operation": "boost", + "score": 0.15333962440490723 + } + }, + "else": { + "operation": "boost", + "score": 0.1587989330291748 + } + }, + "else": { + "operation": "boost", + "score": 0.055832501500844955 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1400701254606247 + }, + "else": { + "operation": "boost", + "score": 0.13376164436340332 + } + }, + "else": { + "operation": "boost", + "score": 0.09801055490970612 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07203160971403122 + } + }, + "else": { + "operation": "boost", + "score": -0.00452529126778245 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08507858961820602 + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.10058552026748657 + }, + "else": { + "operation": "boost", + "score": 0.09208158403635025 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1003037691116333 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09918798506259918 + }, + "else": { + "operation": "boost", + "score": 0.06760644912719727 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09008283913135529 + }, + "else": { + "operation": "boost", + "score": 0.04405805096030235 + } + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.0763227790594101 + }, + "else": { + "operation": "boost", + "score": 0.04631395265460014 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08130790293216705 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07461027801036835 + }, + "else": { + "operation": "boost", + "score": 0.05844106897711754 + } + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.029134495183825493 + } + } + } + }, + "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": "IsInBaseClass", + "threshold": 0.5, + "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 + }, + "else": { + "operation": "boost", + "score": 0.07014225423336029 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.10165727883577347 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.05125463008880615 + }, + "else": { + "operation": "boost", + "score": 0.01715552993118763 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09640952944755554 + }, + "else": { + "operation": "boost", + "score": 0.09440546482801437 + } + } + } + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": 0.032353173941373825 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10109248012304306 + }, + "else": { + "operation": "boost", + "score": -0.07903067767620087 + } + } + }, + "else": { + "operation": "boost", + "score": 0.059730250388383865 + } + }, + "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.07211092114448547 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05771796405315399 + }, + "else": { + "operation": "boost", + "score": 0.12166883051395416 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06070546433329582 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1178.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31775.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08363104611635208 + }, + "else": { + "operation": "boost", + "score": 0.04117938131093979 + } + }, + "else": { + "operation": "boost", + "score": 0.05210615321993828 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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, + "then": { + "operation": "boost", + "score": 0.07481574267148972 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5459.0, + "then": { + "operation": "boost", + "score": 0.11125974357128143 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1637.0, + "then": { + "operation": "boost", + "score": 0.10516256839036942 + }, + "else": { + "operation": "boost", + "score": 0.1561763435602188 + } + }, + "else": { + "operation": "boost", + "score": 0.10763619840145111 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224059.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233715.5, + "then": { + "operation": "boost", + "score": 0.06935365498065948 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11359446495771408 + }, + "else": { + "operation": "boost", + "score": 0.11312974989414215 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.09093871712684631 + }, + "else": { + "operation": "boost", + "score": 0.037870123982429504 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15255901217460632 + } + }, + "else": { + "operation": "boost", + "score": 0.03277275338768959 + } + } + } + }, + "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.17481958866119385 + }, + "else": { + "operation": "boost", + "score": 0.15373781323432922 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.016139429062604904 + }, + "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": 27.0, + "then": { + "operation": "boost", + "score": 0.0982566550374031 + }, + "else": { + "operation": "boost", + "score": 0.07710524648427963 + } + }, + "else": { + "operation": "boost", + "score": 0.06338081508874893 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1265771985054016 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12924957275390625 + }, + "else": { + "operation": "boost", + "score": 0.11065498739480972 + } + } + }, + "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 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.18950331211090088 + }, + "else": { + "operation": "boost", + "score": 0.11170809715986252 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.15198639035224915 + }, + "else": { + "operation": "boost", + "score": 0.10332010686397552 + } + }, + "else": { + "operation": "boost", + "score": 0.06922764331102371 + } + }, + "else": { + "operation": "boost", + "score": 0.050332505255937576 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03594011440873146 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61387.0, + "then": { + "operation": "boost", + "score": 0.060968879610300064 + }, + "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, + "then": { + "operation": "boost", + "score": 0.01047208160161972 + }, + "else": { + "operation": "boost", + "score": 0.07134091854095459 + } + }, + "else": { + "operation": "boost", + "score": 0.08745923638343811 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.005098283290863037 + }, + "else": { + "operation": "boost", + "score": 0.07325638085603714 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011163243092596531 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0940132811665535 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07459411025047302 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.10182815790176392 + }, + "else": { + "operation": "boost", + "score": 0.04553927853703499 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08526675403118134 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.11374358832836151 + }, + "else": { + "operation": "boost", + "score": 0.11783421784639359 + } + }, + "else": { + "operation": "boost", + "score": 0.08475016057491302 + } + }, + "else": { + "operation": "boost", + "score": -0.041275158524513245 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.054358720779418945 + }, + "else": { + "operation": "boost", + "score": -0.08064303547143936 + } + } + } + } + } + } + } + } + }, + { + "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.09816364198923111 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09978890419006348 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09797514230012894 + }, + "else": { + "operation": "boost", + "score": 0.059788741171360016 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0879586711525917 + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.07376091927289963 + }, + "else": { + "operation": "boost", + "score": 0.042984019964933395 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07907678931951523 + }, + "else": { + "operation": "boost", + "score": 0.06705287098884583 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.025942400097846985 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.10039080679416656 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09062919020652771 + }, + "else": { + "operation": "boost", + "score": 0.0958927646279335 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0562005490064621 + }, + "else": { + "operation": "boost", + "score": 0.06747492402791977 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.0488867461681366 + }, + "else": { + "operation": "boost", + "score": 0.014143427833914757 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08287935703992844 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10358519107103348 + }, + "else": { + "operation": "boost", + "score": 0.07311087846755981 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08415624499320984 + }, + "else": { + "operation": "boost", + "score": 0.10082707554101944 + } + }, + "else": { + "operation": "boost", + "score": 0.0522301010787487 + } + }, + "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": "boost", + "score": 0.03809310123324394 + }, + "else": { + "operation": "boost", + "score": 0.09893441200256348 + } + }, + "else": { + "operation": "boost", + "score": -0.08016347140073776 + } + }, + "else": { + "operation": "boost", + "score": 0.05658705532550812 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014791318215429783 + }, + "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", + "CCC_Symbol" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04682377353310585 + } + }, + "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 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1178.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31775.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09593599289655685 + }, + "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", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.06395953893661499 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1124134287238121 + }, + "else": { + "operation": "boost", + "score": 0.11200157552957535 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1276.5, + "then": { + "operation": "boost", + "score": 0.11434174329042435 + }, + "else": { + "operation": "boost", + "score": 0.15342672169208527 + } + }, + "else": { + "operation": "boost", + "score": 0.08809124678373337 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038958609104156494 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.008099919185042381 + }, + "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": 27.0, + "then": { + "operation": "boost", + "score": 0.09566771984100342 + }, + "else": { + "operation": "boost", + "score": 0.07469285279512405 + } + }, + "else": { + "operation": "boost", + "score": 0.05130276083946228 + } + }, + "else": { + "operation": "boost", + "score": 0.06139722093939781 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.03149498254060745 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "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": 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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 784.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.13567428290843964 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12615299224853516 + }, + "else": { + "operation": "boost", + "score": 0.054031096398830414 + } + }, + "else": { + "operation": "boost", + "score": 0.12022517621517181 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.04261083900928497 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08206579089164734 + }, + "else": { + "operation": "boost", + "score": 0.06677582114934921 + } + }, + "else": { + "operation": "boost", + "score": -0.026233026757836342 + } + }, + "else": { + "operation": "boost", + "score": 0.046969085931777954 + } + }, + "else": { + "operation": "boost", + "score": 0.013859179802238941 + } + } + }, + "else": { + "operation": "boost", + "score": -0.001766834408044815 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01258774846792221 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07893633842468262 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09238714724779129 + }, + "else": { + "operation": "boost", + "score": 0.02896856889128685 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08825524896383286 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.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" + ], + "then": { + "operation": "boost", + "score": 0.10767771303653717 + }, + "else": { + "operation": "boost", + "score": -0.1938476711511612 + } + }, + "else": { + "operation": "boost", + "score": 0.0596599206328392 + } + }, + "else": { + "operation": "boost", + "score": 0.03551669791340828 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0923919528722763 + }, + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006878949236124754 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09872332215309143 + }, + "else": { + "operation": "boost", + "score": 0.053261589258909225 + } + }, + "else": { + "operation": "boost", + "score": 0.03375876322388649 + } + }, + "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": 3.5, + "then": { + "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_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08471634238958359 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11876357346773148 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.12238965183496475 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12476897984743118 + }, + "else": { + "operation": "boost", + "score": 0.1322367638349533 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6499.0, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10778690874576569 + }, + "else": { + "operation": "boost", + "score": 0.050086598843336105 + } + }, + "else": { + "operation": "boost", + "score": -0.0011740957852452993 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.029857009649276733 + } + }, + "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_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" + ], + "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 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.09539854526519775 + }, + "else": { + "operation": "boost", + "score": 0.06849629431962967 + } + }, + "else": { + "operation": "boost", + "score": 0.050021667033433914 + } + }, + "else": { + "operation": "boost", + "score": 0.03687777370214462 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + { + "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.0968640148639679 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09880290180444717 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09641709178686142 + }, + "else": { + "operation": "boost", + "score": 0.0739089697599411 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08638704568147659 + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.07143797725439072 + }, + "else": { + "operation": "boost", + "score": 0.03990229219198227 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07662832736968994 + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.038254495710134506 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0560062974691391 + } + }, + "else": { + "operation": "boost", + "score": 0.02677677385509014 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.09820324182510376 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.055475879460573196 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09590362012386322 + }, + "else": { + "operation": "boost", + "score": 0.06560865044593811 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.03710547834634781 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.08074533939361572 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10173311829566956 + }, + "else": { + "operation": "boost", + "score": 0.0710190162062645 + } + } + } + } + } + }, + "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": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61155.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 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04254209250211716 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.02253304049372673 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.098728708922863 + }, + "else": { + "operation": "boost", + "score": 0.05246899276971817 + } + }, + "else": { + "operation": "boost", + "score": 0.04299924895167351 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10212056338787079 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1082.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14669.0, + "then": { + "operation": "boost", + "score": 0.07062145322561264 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7475.5, + "then": { + "operation": "boost", + "score": 0.10716862231492996 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.12796971201896667 + }, + "else": { + "operation": "boost", + "score": 0.11435788869857788 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07867984473705292 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "then": { + "operation": "boost", + "score": 0.09123426675796509 + }, + "else": { + "operation": "boost", + "score": 0.08674091100692749 + } + }, + "else": { + "operation": "boost", + "score": 0.03744829073548317 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.108782559633255 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 971.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1052.0, + "then": { + "operation": "boost", + "score": 0.1229264959692955 + }, + "else": { + "operation": "boost", + "score": 0.1311197578907013 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.0, + "then": { + "operation": "boost", + "score": 0.13312189280986786 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12781323492527008 + }, + "else": { + "operation": "boost", + "score": 0.1257072538137436 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12267349660396576 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08946837484836578 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09318050742149353 + }, + "else": { + "operation": "boost", + "score": 0.06565601378679276 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10545265674591064 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1508.5, + "then": { + "operation": "boost", + "score": 0.09585949778556824 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1220.5, + "then": { + "operation": "boost", + "score": 0.12224429100751877 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.18994511663913727 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.150467187166214 + }, + "else": { + "operation": "boost", + "score": -0.11775612086057663 + } + } + } + } + } + }, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11326546967029572 + }, + "else": { + "operation": "boost", + "score": 0.05870772525668144 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.1900186538696289 + }, + "else": { + "operation": "boost", + "score": 0.1101875826716423 + } + }, + "else": { + "operation": "boost", + "score": 0.05471010133624077 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3078.5, + "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, + "then": { + "operation": "boost", + "score": 0.03770407289266586 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 475.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 589.5, + "then": { + "operation": "boost", + "score": 0.12462340295314789 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 559.5, + "then": { + "operation": "boost", + "score": 0.15073302388191223 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 510.5, + "then": { + "operation": "boost", + "score": 0.10309279710054398 + }, + "else": { + "operation": "boost", + "score": 0.1568974256515503 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.19551198184490204 + } + }, + "else": { + "operation": "boost", + "score": 0.13984143733978271 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.087242990732193 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12408703565597534 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1177443265914917 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.12346061319112778 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1206444501876831 + }, + "else": { + "operation": "boost", + "score": 0.1310454159975052 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08024592697620392 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06543861329555511 + }, + "else": { + "operation": "boost", + "score": 0.030313637107610703 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10486515611410141 + }, + "else": { + "operation": "boost", + "score": 0.0580759160220623 + } + }, + "else": { + "operation": "boost", + "score": 0.008258569985628128 + } + }, + "else": { + "operation": "boost", + "score": -0.10855165868997574 + } + } + }, + "else": { + "operation": "boost", + "score": -0.024835940450429916 + } + }, + "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_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.08956126868724823 + }, + "else": { + "operation": "boost", + "score": 0.06731881946325302 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.052527859807014465 + }, + "else": { + "operation": "boost", + "score": 0.03497566282749176 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014205828309059143 + } + } + }, + "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.03161691129207611 + }, + "else": { + "operation": "boost", + "score": -0.07812844961881638 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09265217930078506 + }, + "else": { + "operation": "boost", + "score": 0.03896794468164444 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005294961854815483 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08036629855632782 + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.09825703501701355 + }, + "else": { + "operation": "boost", + "score": 0.08466381579637527 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09807059168815613 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09524808079004288 + }, + "else": { + "operation": "boost", + "score": 0.061571892350912094 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08469279110431671 + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.06910309195518494 + }, + "else": { + "operation": "boost", + "score": 0.03695225715637207 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07457394897937775 + }, + "else": { + "operation": "boost", + "score": 0.06037551537156105 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.053055815398693085 + }, + "else": { + "operation": "boost", + "score": 0.02375570870935917 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.09446477890014648 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08990887552499771 + }, + "else": { + "operation": "boost", + "score": 0.09570422023534775 + } + }, + "else": { + "operation": "boost", + "score": 0.055778294801712036 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0352419875562191 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07559218257665634 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10082542896270752 + }, + "else": { + "operation": "boost", + "score": 0.06643329560756683 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07994996756315231 + }, + "else": { + "operation": "boost", + "score": 0.0960271880030632 + } + }, + "else": { + "operation": "boost", + "score": 0.03887152671813965 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.02609442174434662 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0961986854672432 + }, + "else": { + "operation": "boost", + "score": -0.06919234991073608 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04856110364198685 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.022029932588338852 + }, + "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", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.069072425365448 + } + }, + "else": { + "operation": "boost", + "score": 0.04837128892540932 + } + }, + "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": 2.5, + "then": { + "operation": "boost", + "score": 0.013106107711791992 + }, + "else": { + "operation": "boost", + "score": 0.05264579504728317 + } + }, + "else": { + "operation": "boost", + "score": -0.08675048500299454 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1082.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1666.5, + "then": { + "operation": "boost", + "score": 0.08296932280063629 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0806555300951004 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.13359351456165314 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.10097197443246841 + }, + "else": { + "operation": "boost", + "score": 0.13685472309589386 + } + }, + "else": { + "operation": "boost", + "score": 0.16142186522483826 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1570.0, + "then": { + "operation": "boost", + "score": 0.1345299929380417 + }, + "else": { + "operation": "boost", + "score": 0.12894022464752197 + } + } + } + } + } + }, + "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 + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0038717612624168396 + }, + "else": { + "operation": "boost", + "score": 0.06214231252670288 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.03002064675092697 + }, + "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.11822127550840378 + }, + "else": { + "operation": "boost", + "score": 0.10325964540243149 + } + }, + "else": { + "operation": "boost", + "score": 0.08762305229902267 + } + }, + "else": { + "operation": "boost", + "score": 0.052458345890045166 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.06547249108552933 + }, + "else": { + "operation": "boost", + "score": 0.03683372959494591 + } + }, + "else": { + "operation": "boost", + "score": 0.0006785187870264053 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010757016018033028 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.06783271580934525 + }, + "else": { + "operation": "boost", + "score": 0.11197162419557571 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09598282724618912 + }, + "else": { + "operation": "boost", + "score": 0.047512102872133255 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03207649290561676 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08363986015319824 + }, + "else": { + "operation": "boost", + "score": 0.11114615201950073 + } + }, + "else": { + "operation": "boost", + "score": 0.08193738758563995 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0020302231423556805 + }, + "else": { + "operation": "boost", + "score": 0.06735064834356308 + } + }, + "else": { + "operation": "boost", + "score": 0.08860530704259872 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0016333028906956315 + }, + "else": { + "operation": "boost", + "score": 0.06894504278898239 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005398801993578672 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09217765182256699 + }, + "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, + "then": { + "operation": "boost", + "score": 0.029338467866182327 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10028228163719177 + }, + "else": { + "operation": "boost", + "score": 0.03395811840891838 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "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, + "then": { + "operation": "boost", + "score": 0.127909317612648 + }, + "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": 327227.0, + "then": { + "operation": "boost", + "score": 0.03511728346347809 + }, + "else": { + "operation": "boost", + "score": 0.09753009676933289 + } + }, + "else": { + "operation": "boost", + "score": 0.04907006397843361 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12056951969861984 + }, + "else": { + "operation": "boost", + "score": 0.11031393706798553 + } + }, + "else": { + "operation": "boost", + "score": 0.0736839547753334 + } + }, + "else": { + "operation": "boost", + "score": 0.09032461047172546 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08677840232849121 + }, + "else": { + "operation": "boost", + "score": 0.015928437933325768 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10065817087888718 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.13449732959270477 + }, + "else": { + "operation": "boost", + "score": 0.13535822927951813 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1296064555644989 + }, + "else": { + "operation": "boost", + "score": 0.06332281231880188 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1332150101661682 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 217.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 247.0, + "then": { + "operation": "boost", + "score": 0.12230133265256882 + }, + "else": { + "operation": "boost", + "score": 0.13683970272541046 + } + }, + "else": { + "operation": "boost", + "score": 0.1253490000963211 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13096198439598083 + } + }, + "else": { + "operation": "boost", + "score": 0.08790403604507446 + } + }, + "else": { + "operation": "boost", + "score": 0.05831572785973549 + } + } + }, + "else": { + "operation": "boost", + "score": 0.002894939389079809 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06884948164224625 + } + } + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.09721387922763824 + }, + "else": { + "operation": "boost", + "score": 0.08623921871185303 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09705595672130585 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09388989955186844 + }, + "else": { + "operation": "boost", + "score": 0.06486735492944717 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08218121528625488 + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.06665045022964478 + }, + "else": { + "operation": "boost", + "score": 0.03294919803738594 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07620581239461899 + }, + "else": { + "operation": "boost", + "score": 0.06278128921985626 + } + }, + "else": { + "operation": "boost", + "score": 0.048113998025655746 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.020315926522016525 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.09134858101606369 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08741691708564758 + }, + "else": { + "operation": "boost", + "score": 0.09444145113229752 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0493537038564682 + }, + "else": { + "operation": "boost", + "score": 0.0591292530298233 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "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, + "then": { + "operation": "boost", + "score": 0.07216143608093262 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09828489273786545 + }, + "else": { + "operation": "boost", + "score": 0.06859101355075836 + } + } + } + } + } + }, + "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.07372035831212997 + }, + "else": { + "operation": "boost", + "score": 0.09288334101438522 + } + }, + "else": { + "operation": "boost", + "score": 0.04193459078669548 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.023714404553174973 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09278104454278946 + }, + "else": { + "operation": "boost", + "score": -0.06225590780377388 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04510265961289406 + } + }, + "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": "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 + } + } + }, + "else": { + "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.04954691231250763 + }, + "else": { + "operation": "boost", + "score": 0.11202915012836456 + } + }, + "else": { + "operation": "boost", + "score": 0.050834815949201584 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04887877404689789 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "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" + ], + "then": { + "operation": "boost", + "score": 0.10274855047464371 + }, + "else": { + "operation": "boost", + "score": 0.04182121902704239 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 823.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.060487162321805954 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1672.5, + "then": { + "operation": "boost", + "score": 0.08639538288116455 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1570.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.12553875148296356 + }, + "else": { + "operation": "boost", + "score": 0.4368475377559662 + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13399207592010498 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1164604052901268 + }, + "else": { + "operation": "boost", + "score": 0.05831175670027733 + } + }, + "else": { + "operation": "boost", + "score": 0.0292372927069664 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "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": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.08755411207675934 + }, + "else": { + "operation": "boost", + "score": 0.05768612399697304 + } + }, + "else": { + "operation": "boost", + "score": 0.030835336074233055 + } + }, + "else": { + "operation": "boost", + "score": 0.05173281207680702 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.0, + "then": { + "operation": "boost", + "score": 0.11146445572376251 + }, + "else": { + "operation": "boost", + "score": 0.04299504682421684 + } + }, + "else": { + "operation": "boost", + "score": 0.023430900648236275 + } + }, + "else": { + "operation": "boost", + "score": 0.052033986896276474 + } + } + }, + "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", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.11523742973804474 + }, + "else": { + "operation": "boost", + "score": 0.09477546811103821 + } + }, + "else": { + "operation": "boost", + "score": 0.057843178510665894 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017984310165047646 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.06625165790319443 + }, + "else": { + "operation": "boost", + "score": 0.10962983220815659 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09240899980068207 + }, + "else": { + "operation": "boost", + "score": 0.04434220492839813 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03137477859854698 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08031348139047623 + }, + "else": { + "operation": "boost", + "score": 0.10737958550453186 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0013504625530913472 + }, + "else": { + "operation": "boost", + "score": 0.06253910809755325 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.5, + "then": { + "operation": "boost", + "score": 0.1003573089838028 + }, + "else": { + "operation": "boost", + "score": 0.07773058116436005 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.004412750247865915 + }, + "else": { + "operation": "boost", + "score": 0.06425400078296661 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004974620882421732 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0654938593506813 + }, + "else": { + "operation": "boost", + "score": 0.021426189690828323 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71306.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.14031808078289032 + }, + "else": { + "operation": "boost", + "score": -0.005276269745081663 + } + }, + "else": { + "operation": "boost", + "score": 0.08428774029016495 + } + }, + "else": { + "operation": "boost", + "score": 0.055213455110788345 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.12536996603012085 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 327227.0, + "then": { + "operation": "boost", + "score": 0.033491101115942 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05157306045293808 + }, + "else": { + "operation": "boost", + "score": 0.09822572767734528 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04603246971964836 + } + }, + "else": { + "operation": "boost", + "score": -0.014107145369052887 + } + } + } + }, + "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", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 634.5, + "then": { + "operation": "boost", + "score": 0.1064315214753151 + }, + "else": { + "operation": "boost", + "score": 0.07118763029575348 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.13068638741970062 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1402812898159027 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06329724192619324 + } + }, + "else": { + "operation": "boost", + "score": 0.009008927270770073 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013623649254441261 + } + } + }, + "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 + } + } + } + } + } + } + } + } + }, + { + "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.09304293990135193 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09629923105239868 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09281425923109055 + }, + "else": { + "operation": "boost", + "score": 0.04967840760946274 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07950768619775772 + } + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.06442917138338089 + }, + "else": { + "operation": "boost", + "score": 0.031385380774736404 + } + }, + "else": { + "operation": "boost", + "score": 0.058715954422950745 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09971761703491211 + }, + "else": { + "operation": "boost", + "score": 0.0965195968747139 + } + }, + "else": { + "operation": "boost", + "score": 0.02899816632270813 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.08814447373151779 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08632145822048187 + }, + "else": { + "operation": "boost", + "score": 0.09403367340564728 + } + }, + "else": { + "operation": "boost", + "score": 0.05155489593744278 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.03102196380496025 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07298595458269119 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09631772339344025 + }, + "else": { + "operation": "boost", + "score": 0.06474395096302032 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, + "then": { + "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": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09312871843576431 + }, + "else": { + "operation": "boost", + "score": 0.04166819155216217 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1673.5, + "then": { + "operation": "boost", + "score": 0.06599969416856766 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.06585726886987686 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1339.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1436.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13414810597896576 + }, + "else": { + "operation": "boost", + "score": 0.12328270077705383 + } + }, + "else": { + "operation": "boost", + "score": 0.1562960296869278 + } + }, + "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 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10667730122804642 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.025417743250727654 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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": 10.5, + "then": { + "operation": "boost", + "score": 0.12766526639461517 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 524.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09637358784675598 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1732558012008667 + } + }, + "else": { + "operation": "boost", + "score": 0.12517519295215607 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10290824621915817 + }, + "else": { + "operation": "boost", + "score": 0.16568578779697418 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10617905110120773 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.052435725927352905 + }, + "else": { + "operation": "boost", + "score": 0.0378301665186882 + } + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "then": { + "operation": "boost", + "score": 0.12127607315778732 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0215779896825552 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0471387580037117 + }, + "else": { + "operation": "boost", + "score": 0.036602310836315155 + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013689186424016953 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": 0.12187869846820831 + }, + "else": { + "operation": "boost", + "score": 0.0824335515499115 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10700589418411255 + }, + "else": { + "operation": "boost", + "score": 0.06242195516824722 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01798047497868538 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.06303396075963974 + }, + "else": { + "operation": "boost", + "score": 0.1083965003490448 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09067989140748978 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07552152127027512 + }, + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.16151370108127594 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.19292668998241425 + }, + "else": { + "operation": "boost", + "score": 0.19285844266414642 + } + }, + "else": { + "operation": "boost", + "score": 0.17121218144893646 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03143387287855148 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09629195183515549 + }, + "else": { + "operation": "boost", + "score": 0.1938512772321701 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08251068741083145 + } + }, + "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_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02338004857301712 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09746497124433517 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13083405792713165 + }, + "else": { + "operation": "boost", + "score": 0.13937577605247498 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06462821364402771 + } + }, + "else": { + "operation": "boost", + "score": 0.062394410371780396 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.0411398708820343 + }, + "else": { + "operation": "boost", + "score": 0.08953610807657242 + } + }, + "else": { + "operation": "boost", + "score": 0.025232788175344467 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09708225727081299 + }, + "else": { + "operation": "boost", + "score": 0.03319507837295532 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.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 + } + }, + "else": { + "operation": "boost", + "score": -0.011301775462925434 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + }, + "else": { + "operation": "boost", + "score": 0.12103183567523956 + } + }, + "else": { + "operation": "boost", + "score": 0.07814478874206543 + } + }, + "else": { + "operation": "boost", + "score": 0.062161002308130264 + } + }, + "else": { + "operation": "boost", + "score": 0.03678005933761597 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.025109561160206795 + } + } + }, + "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.1410597711801529 + }, + "else": { + "operation": "boost", + "score": 0.11545102298259735 + } + }, + "else": { + "operation": "boost", + "score": -0.26261743903160095 + } + }, + "else": { + "operation": "boost", + "score": 0.050304852426052094 + } + }, + "else": { + "operation": "boost", + "score": -0.04345069080591202 + } + }, + "else": { + "operation": "boost", + "score": -0.07769067585468292 + } + } + } + } + } + }, + { + "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.09147027879953384 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09476298093795776 + }, + "else": { + "operation": "boost", + "score": 0.09035497158765793 + } + }, + "else": { + "operation": "boost", + "score": 0.07706913352012634 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045396070927381516 + }, + "else": { + "operation": "boost", + "score": 0.055610425770282745 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.044886186718940735 + }, + "else": { + "operation": "boost", + "score": 0.015086124651134014 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.0864492878317833 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05306040868163109 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.029932983219623566 + }, + "else": { + "operation": "boost", + "score": 0.07843276113271713 + } + } + } + }, + "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.1710001528263092 + }, + "else": { + "operation": "boost", + "score": 0.08716735988855362 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09530170261859894 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 282.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1566.0, + "then": { + "operation": "boost", + "score": 0.11940626055002213 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.15874844789505005 + } + }, + "else": { + "operation": "boost", + "score": 0.0916290134191513 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08548564463853836 + }, + "else": { + "operation": "boost", + "score": 0.1221630722284317 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08466532081365585 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08891303837299347 + }, + "else": { + "operation": "boost", + "score": 0.02793963812291622 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05069954693317413 + }, + "else": { + "operation": "boost", + "score": 0.03952411189675331 + } + } + } + }, + "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.0694495216012001 + }, + "else": { + "operation": "boost", + "score": 0.08732679486274719 + } + }, + "else": { + "operation": "boost", + "score": 0.039994608610868454 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.0763883888721466 + }, + "else": { + "operation": "boost", + "score": 0.04524250328540802 + } + }, + "else": { + "operation": "boost", + "score": 0.021911969408392906 + } + } + }, + "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", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.03665715083479881 + } + }, + "else": { + "operation": "boost", + "score": -0.09066583216190338 + } + }, + "else": { + "operation": "boost", + "score": -0.03922831639647484 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02704487182199955 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.16554774343967438 + }, + "else": { + "operation": "boost", + "score": 0.11392118781805038 + } + }, + "else": { + "operation": "boost", + "score": 0.10884079337120056 + } + }, + "else": { + "operation": "boost", + "score": 0.0707775205373764 + } + }, + "else": { + "operation": "boost", + "score": 0.062006231397390366 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013373438268899918 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.06043105572462082 + }, + "else": { + "operation": "boost", + "score": 0.10587205737829208 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0879659429192543 + }, + "else": { + "operation": "boost", + "score": 0.041292618960142136 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028513897210359573 + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "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" + ], + "then": { + "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.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09892617911100388 + }, + "else": { + "operation": "boost", + "score": 0.22090007364749908 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07891064137220383 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12520018219947815 + }, + "else": { + "operation": "boost", + "score": 0.12202698737382889 + } + }, + "else": { + "operation": "boost", + "score": 0.13739563524723053 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016194654628634453 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11233014613389969 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07145287841558456 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08734554052352905 + } + }, + "else": { + "operation": "boost", + "score": 0.050970546901226044 + } + }, + "else": { + "operation": "boost", + "score": -0.04511733725667 + } + }, + "else": { + "operation": "boost", + "score": -0.007059118710458279 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10777082294225693 + }, + "else": { + "operation": "boost", + "score": 0.08727575838565826 + } + }, + "else": { + "operation": "boost", + "score": 0.06733399629592896 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.009699813090264797 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10059314221143723 + }, + "else": { + "operation": "boost", + "score": 0.049192965030670166 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1362975388765335 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1412140130996704 + } + }, + "else": { + "operation": "boost", + "score": 0.017911037430167198 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09056264907121658 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12137892097234726 + }, + "else": { + "operation": "boost", + "score": 0.1167675256729126 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08168212324380875 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06397263705730438 + } + }, + "else": { + "operation": "boost", + "score": -0.015505035407841206 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07749057561159134 + } + } + } + } + } + } + }, + { + "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.09135985374450684 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09356466680765152 + }, + "else": { + "operation": "boost", + "score": 0.08871360868215561 + } + }, + "else": { + "operation": "boost", + "score": 0.07389072328805923 + } + } + }, + "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": 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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06482165306806564 + }, + "else": { + "operation": "boost", + "score": 0.020599037408828735 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.08400087058544159 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0882733017206192 + }, + "else": { + "operation": "boost", + "score": 0.048003971576690674 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.028152136132121086 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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, + "then": { + "operation": "boost", + "score": 0.0940672904253006 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1509498655796051 + }, + "else": { + "operation": "boost", + "score": 0.11080866307020187 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 279.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 282.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.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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.151759535074234 + } + }, + "else": { + "operation": "boost", + "score": 0.08711588382720947 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 237.5, + "then": { + "operation": "boost", + "score": 0.07872363924980164 + }, + "else": { + "operation": "boost", + "score": 0.1436898112297058 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08402824401855469 + }, + "else": { + "operation": "boost", + "score": 0.02869335375726223 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.046731237322092056 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "boost", + "score": 0.07272559404373169 + }, + "else": { + "operation": "boost", + "score": 0.034285642206668854 + } + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.056276530027389526 + }, + "else": { + "operation": "boost", + "score": 0.043083034455776215 + } + }, + "else": { + "operation": "boost", + "score": -0.06247483566403389 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1163846030831337 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0973304733633995 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.03627084195613861 + }, + "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": 170.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.14842547476291656 + }, + "else": { + "operation": "boost", + "score": 0.11166593432426453 + } + }, + "else": { + "operation": "boost", + "score": 0.12228184938430786 + } + }, + "else": { + "operation": "boost", + "score": 0.15532906353473663 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10873784124851227 + }, + "else": { + "operation": "boost", + "score": 0.07172928005456924 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07980795204639435 + }, + "else": { + "operation": "boost", + "score": 0.055476874113082886 + } + } + }, + "else": { + "operation": "boost", + "score": 0.016584409400820732 + } + } + } + } + } + }, + "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_greater", + "feature": "NumReferences", + "threshold": 61387.0, + "then": { + "operation": "boost", + "score": 0.0753885805606842 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0796399787068367 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11970730870962143 + }, + "else": { + "operation": "boost", + "score": 0.12037629634141922 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06114117428660393 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10036284476518631 + }, + "else": { + "operation": "boost", + "score": 0.11600842326879501 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04393569007515907 + }, + "else": { + "operation": "boost", + "score": 0.13757441937923431 + } + }, + "else": { + "operation": "boost", + "score": 0.0033159430604428053 + } + }, + "else": { + "operation": "boost", + "score": -0.007822569459676743 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0003672741004265845 + } + } + }, + "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_TopLevel", + "CCC_Namespace", + "CCC_UnionTag" + ], + "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_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.5, + "then": { + "operation": "boost", + "score": 0.10697364807128906 + }, + "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", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 502.0, + "then": { + "operation": "boost", + "score": 0.11978200823068619 + }, + "else": { + "operation": "boost", + "score": -0.18094410002231598 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.13823875784873962 + }, + "else": { + "operation": "boost", + "score": 0.12571169435977936 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13525420427322388 + } + }, + "else": { + "operation": "boost", + "score": 0.18286600708961487 + } + }, + "else": { + "operation": "boost", + "score": 0.12638749182224274 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.035299383103847504 + } + }, + "else": { + "operation": "boost", + "score": -0.00824789796024561 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0652032196521759 + }, + "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": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.16220511496067047 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1286897212266922 + }, + "else": { + "operation": "boost", + "score": 0.21311825513839722 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.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 + } + }, + "else": { + "operation": "boost", + "score": 0.11203591525554657 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0036247980315238237 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07329241186380386 + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.09323979169130325 + }, + "else": { + "operation": "boost", + "score": 0.07315793633460999 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0922294408082962 + }, + "else": { + "operation": "boost", + "score": 0.08657882362604141 + } + }, + "else": { + "operation": "boost", + "score": 0.07279697060585022 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06188095733523369 + }, + "else": { + "operation": "boost", + "score": 0.03289981186389923 + } + }, + "else": { + "operation": "boost", + "score": 0.02416549064218998 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.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 + } + }, + "else": { + "operation": "boost", + "score": 0.07913826406002045 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.047648243606090546 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.026228323578834534 + }, + "else": { + "operation": "boost", + "score": 0.07396946847438812 + } + } + } + }, + "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.15696339309215546 + }, + "else": { + "operation": "boost", + "score": 0.08383934944868088 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09310910105705261 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07491999864578247 + }, + "else": { + "operation": "boost", + "score": 0.11200665682554245 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04409726336598396 + }, + "else": { + "operation": "boost", + "score": 0.03302023187279701 + } + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "then": { + "operation": "boost", + "score": 0.11221346259117126 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03807513415813446 + }, + "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_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.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 + } + }, + "else": { + "operation": "boost", + "score": 0.03195611387491226 + } + }, + "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 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09398497641086578 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.033677708357572556 + }, + "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": 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.13180223107337952 + }, + "else": { + "operation": "boost", + "score": 0.11887788772583008 + } + }, + "else": { + "operation": "boost", + "score": 0.14603836834430695 + } + }, + "else": { + "operation": "boost", + "score": 0.09037823230028152 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07903557270765305 + }, + "else": { + "operation": "boost", + "score": 0.05298186466097832 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01591149903833866 + } + } + } + } + } + }, + "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.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" + ], + "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.012954844161868095 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05459325760602951 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13134141266345978 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.15536411106586456 + }, + "else": { + "operation": "boost", + "score": 0.1639091670513153 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03795301914215088 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0029989597387611866 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07119189947843552 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12096709758043289 + }, + "else": { + "operation": "boost", + "score": 0.12579147517681122 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05346878245472908 + } + }, + "else": { + "operation": "boost", + "score": 0.03572939336299896 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 126.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10516385734081268 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 522.0, + "then": { + "operation": "boost", + "score": 0.11752934753894806 + }, + "else": { + "operation": "boost", + "score": 0.13541904091835022 + } + }, + "else": { + "operation": "boost", + "score": 0.13417702913284302 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12760619819164276 + } + }, + "else": { + "operation": "boost", + "score": 0.09429076313972473 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.03375318646430969 + }, + "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": 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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.041619978845119476 + } + }, + "else": { + "operation": "boost", + "score": 0.020575879141688347 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "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.005310053937137127 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10235783457756042 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07432574778795242 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.009473942220211029 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "boost", + "score": 0.09987770766019821 + }, + "else": { + "operation": "boost", + "score": 0.05230361968278885 + } + }, + "else": { + "operation": "boost", + "score": 0.02799873799085617 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02156062424182892 + } + } + }, + "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.1320093423128128 + }, + "else": { + "operation": "boost", + "score": 0.11170677095651627 + } + }, + "else": { + "operation": "boost", + "score": -0.1877719908952713 + } + }, + "else": { + "operation": "boost", + "score": 0.04980933666229248 + } + }, + "else": { + "operation": "boost", + "score": -0.03797857463359833 + } + }, + "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.11956097185611725 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13809120655059814 + }, + "else": { + "operation": "boost", + "score": -0.021776320412755013 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07496877759695053 + } + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.09279514849185944 + }, + "else": { + "operation": "boost", + "score": 0.06663431972265244 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09055550396442413 + }, + "else": { + "operation": "boost", + "score": 0.08490457385778427 + } + }, + "else": { + "operation": "boost", + "score": 0.07019580900669098 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04409797489643097 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09207221865653992 + }, + "else": { + "operation": "boost", + "score": 0.02112676575779915 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.07761762291193008 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04610674828290939 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.028164533898234367 + }, + "else": { + "operation": "boost", + "score": 0.07108129560947418 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.18883998692035675 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14042505621910095 + }, + "else": { + "operation": "boost", + "score": 0.11128302663564682 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1637.0, + "then": { + "operation": "boost", + "score": 0.08852553367614746 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1357811987400055 + }, + "else": { + "operation": "boost", + "score": -0.1145051121711731 + } + }, + "else": { + "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.09847799688577652 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1336.5, + "then": { + "operation": "boost", + "score": 0.11410001665353775 + }, + "else": { + "operation": "boost", + "score": 0.13421815633773804 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11653197556734085 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1333278864622116 + }, + "else": { + "operation": "boost", + "score": 0.15556591749191284 + } + }, + "else": { + "operation": "boost", + "score": 0.11654550582170486 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1022060438990593 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.14190642535686493 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0909709557890892 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443.0, + "then": { + "operation": "boost", + "score": 0.1352791041135788 + }, + "else": { + "operation": "boost", + "score": 0.1130487322807312 + } + }, + "else": { + "operation": "boost", + "score": 0.13679838180541992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12038133293390274 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1058.5, + "then": { + "operation": "boost", + "score": 0.12381348758935928 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06349772959947586 + }, + "else": { + "operation": "boost", + "score": 0.16234664618968964 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1214163675904274 + } + }, + "else": { + "operation": "boost", + "score": 0.10485454648733139 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1450.5, + "then": { + "operation": "boost", + "score": 0.08899170905351639 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 826.5, + "then": { + "operation": "boost", + "score": 0.14991667866706848 + }, + "else": { + "operation": "boost", + "score": 0.1259283572435379 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 518.0, + "then": { + "operation": "boost", + "score": 0.07238642871379852 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 408.0, + "then": { + "operation": "boost", + "score": 0.1610785871744156 + }, + "else": { + "operation": "boost", + "score": -0.13175459206104279 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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_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.03583000972867012 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10243820399045944 + }, + "else": { + "operation": "boost", + "score": 0.09940019249916077 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04915522411465645 + } + }, + "else": { + "operation": "boost", + "score": 0.02873443439602852 + } + }, + "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": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006631357595324516 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "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", + "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 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.007932519540190697 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.11733265966176987 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1220938116312027 + }, + "else": { + "operation": "boost", + "score": 0.12560218572616577 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027257844805717468 + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13005518913269043 + } + }, + "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", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036255281418561935 + } + }, + "else": { + "operation": "boost", + "score": 0.004202321637421846 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011118147522211075 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.06848431378602982 + }, + "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": 24.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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06096462905406952 + } + }, + "else": { + "operation": "boost", + "score": -0.008377701044082642 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0757405012845993 + } + } + } + } + } + } + }, + { + "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.08694304525852203 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0889338031411171 + }, + "else": { + "operation": "boost", + "score": 0.08302614092826843 + } + }, + "else": { + "operation": "boost", + "score": 0.0678851529955864 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05789193883538246 + }, + "else": { + "operation": "boost", + "score": 0.02776053175330162 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05943327769637108 + }, + "else": { + "operation": "boost", + "score": 0.014309043996036053 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09351492673158646 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, + "then": { + "operation": "boost", + "score": 0.09433426707983017 + }, + "else": { + "operation": "boost", + "score": 0.12808023393154144 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07536066323518753 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.13760307431221008 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09572228044271469 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12348788231611252 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1047801747918129 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07722894847393036 + } + }, + "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 + } + } + } + } + } + }, + "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.0477631501853466 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.032634884119033813 + }, + "else": { + "operation": "boost", + "score": 0.10412198305130005 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024560565128922462 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.039588529616594315 + }, + "else": { + "operation": "boost", + "score": 0.022721610963344574 + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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.033993758261203766 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10042241215705872 + }, + "else": { + "operation": "boost", + "score": 0.09639665484428406 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04608878120779991 + } + }, + "else": { + "operation": "boost", + "score": 0.031183503568172455 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01993292011320591 + }, + "else": { + "operation": "boost", + "score": 0.056878603994846344 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09923510253429413 + }, + "else": { + "operation": "boost", + "score": 0.03567500412464142 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0536968968808651 + } + } + }, + "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": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0031924734357744455 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "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, + "then": { + "operation": "boost", + "score": 0.057833731174468994 + }, + "else": { + "operation": "boost", + "score": 0.08938925713300705 + } + }, + "else": { + "operation": "boost", + "score": 0.045820202678442 + } + }, + "else": { + "operation": "boost", + "score": 0.06615491956472397 + } + }, + "else": { + "operation": "boost", + "score": -0.011736327782273293 + } + }, + "else": { + "operation": "boost", + "score": -0.09956150501966476 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.038686297833919525 + }, + "else": { + "operation": "boost", + "score": 0.023500166833400726 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08922521024942398 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.028223177418112755 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0888272076845169 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 170.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.13080792129039764 + }, + "else": { + "operation": "boost", + "score": 0.13960331678390503 + } + }, + "else": { + "operation": "boost", + "score": 0.11433402448892593 + } + }, + "else": { + "operation": "boost", + "score": 0.06741689890623093 + } + }, + "else": { + "operation": "boost", + "score": 0.06725923717021942 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01587042212486267 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.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" + ], + "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.005810740403831005 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056764762848615646 + }, + "else": { + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13868369162082672 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07024116069078445 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50014.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0019160757074132562 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05912385880947113 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10997257381677628 + }, + "else": { + "operation": "boost", + "score": 0.11955245584249496 + } + } + } + }, + "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", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0749693512916565 + }, + "else": { + "operation": "boost", + "score": 0.0530310682952404 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.038318268954753876 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12613309919834137 + }, + "else": { + "operation": "boost", + "score": 0.1114337295293808 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11429817229509354 + } + }, + "else": { + "operation": "boost", + "score": 0.12594850361347198 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08101965487003326 + }, + "else": { + "operation": "boost", + "score": 0.12239303439855576 + } + }, + "else": { + "operation": "boost", + "score": 0.09946826100349426 + } + }, + "else": { + "operation": "boost", + "score": 0.047423165291547775 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09731505811214447 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04167836531996727 + }, + "else": { + "operation": "boost", + "score": -0.004020641557872295 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012168708257377148 + } + } + }, + "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.1620177924633026 + }, + "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.1088285818696022 + }, + "else": { + "operation": "boost", + "score": -0.20339363813400269 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0935543030500412 + } + }, + "else": { + "operation": "boost", + "score": -0.035570792853832245 + } + }, + "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.11431337147951126 + }, + "else": { + "operation": "boost", + "score": 0.034492477774620056 + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04017483443021774 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.12591734528541565 + }, + "else": { + "operation": "boost", + "score": 0.11905129998922348 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1267949640750885 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07190427929162979 + } + } + } + } + } + } + }, + { + "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.08433108776807785 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08271689713001251 + }, + "else": { + "operation": "boost", + "score": 0.0668211355805397 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05550602450966835 + }, + "else": { + "operation": "boost", + "score": 0.025062046945095062 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0779225304722786 + }, + "else": { + "operation": "boost", + "score": 0.09361210465431213 + } + }, + "else": { + "operation": "boost", + "score": 0.01877831667661667 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "boost", + "score": 0.05310458689928055 + }, + "else": { + "operation": "boost", + "score": 0.005035193171352148 + } + }, + "else": { + "operation": "boost", + "score": 0.07712913304567337 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08916986733675003 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2797431945800781 + }, + "else": { + "operation": "boost", + "score": 0.045059844851493835 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0252145454287529 + } + } + }, + "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.04127000644803047 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05646425485610962 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1028471514582634 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09398412704467773 + }, + "else": { + "operation": "boost", + "score": 0.1354929655790329 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10233107954263687 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.010955778881907463 + } + } + }, + "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": 71954.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.060955073684453964 + }, + "else": { + "operation": "boost", + "score": -0.19046421349048615 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07141881436109543 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.10702241212129593 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.1123729795217514 + }, + "else": { + "operation": "boost", + "score": 0.09774227440357208 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08375246077775955 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.008416787721216679 + }, + "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": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013805053196847439 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08453526347875595 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10294739902019501 + }, + "else": { + "operation": "boost", + "score": 0.11664287745952606 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.15762346982955933 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00047667062608525157 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030451131984591484 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08469226956367493 + }, + "else": { + "operation": "boost", + "score": 0.01598673313856125 + } + }, + "else": { + "operation": "boost", + "score": 0.10479625314474106 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "boost", + "score": 0.10550814867019653 + }, + "else": { + "operation": "boost", + "score": 0.015660066157579422 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1453.5, + "then": { + "operation": "boost", + "score": 0.005555032752454281 + }, + "else": { + "operation": "boost", + "score": 0.053986985236406326 + } + }, + "else": { + "operation": "boost", + "score": 0.026155851781368256 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.015887923538684845 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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 + } + }, + "else": { + "operation": "boost", + "score": 0.11476022750139236 + } + }, + "else": { + "operation": "boost", + "score": 0.11973770707845688 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04341635853052139 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09869617223739624 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.17091242969036102 + } + }, + "else": { + "operation": "boost", + "score": 0.1204908937215805 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "boost", + "score": 0.17466109991073608 + }, + "else": { + "operation": "boost", + "score": -0.11338576674461365 + } + }, + "else": { + "operation": "boost", + "score": 0.07184738665819168 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12018141895532608 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03822632133960724 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.004169578198343515 + }, + "else": { + "operation": "boost", + "score": 0.04389815032482147 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12629081308841705 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27896.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06835321336984634 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.10076449066400528 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11820957064628601 + }, + "else": { + "operation": "boost", + "score": -0.22752594947814941 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02443687804043293 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04014300927519798 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.01931539922952652 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.06857926398515701 + }, + "else": { + "operation": "boost", + "score": 0.04974959045648575 + } + }, + "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 + } + } + } + } + } + } + } + }, + "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" + ], + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04128847271203995 + }, + "else": { + "operation": "boost", + "score": 0.08554543554782867 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "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.03373321145772934 + }, + "else": { + "operation": "boost", + "score": 0.09476268291473389 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12519928812980652 + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "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.01534072495996952 + }, + "else": { + "operation": "boost", + "score": -0.14733901619911194 + } + } + } + } + }, + "else": { + "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.13728946447372437 + }, + "else": { + "operation": "boost", + "score": 0.10440517216920853 + } + }, + "else": { + "operation": "boost", + "score": -0.16417856514453888 + } + }, + "else": { + "operation": "boost", + "score": 0.04859504848718643 + } + }, + "else": { + "operation": "boost", + "score": -0.042858533561229706 + } + } + }, + "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.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, + "then": { + "operation": "boost", + "score": -0.05517670139670372 + }, + "else": { + "operation": "boost", + "score": 0.12064263224601746 + } + }, + "else": { + "operation": "boost", + "score": -0.1481875777244568 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05967862904071808 + } + } + } + } + } + }, + { + "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.08212029188871384 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08061972260475159 + }, + "else": { + "operation": "boost", + "score": 0.06376766413450241 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.016241801902651787 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.07057752460241318 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1331019252538681 + }, + "else": { + "operation": "boost", + "score": 0.007966065779328346 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.04944273829460144 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1655.0, + "then": { + "operation": "boost", + "score": 0.03992827981710434 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043140292167663574 + }, + "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": 171.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287.0, + "then": { + "operation": "boost", + "score": 0.13392095267772675 + }, + "else": { + "operation": "boost", + "score": 0.15174172818660736 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1529221087694168 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1302.0, + "then": { + "operation": "boost", + "score": 0.11724784225225449 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1219189465045929 + }, + "else": { + "operation": "boost", + "score": 0.12705287337303162 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08231806010007858 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.11249572038650513 + }, + "else": { + "operation": "boost", + "score": 0.060144584625959396 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287036.5, + "then": { + "operation": "boost", + "score": 0.1022316962480545 + }, + "else": { + "operation": "boost", + "score": 0.013476825319230556 + } + } + }, + "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": 11.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.14007671177387238 + }, + "else": { + "operation": "boost", + "score": 0.12329566478729248 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.055289529263973236 + }, + "else": { + "operation": "boost", + "score": -0.030514953657984734 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01820259541273117 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 240.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06354187428951263 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12659592926502228 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10928318649530411 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 325.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 683.5, + "then": { + "operation": "boost", + "score": 0.11129546910524368 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 403.5, + "then": { + "operation": "boost", + "score": 0.1261303424835205 + }, + "else": { + "operation": "boost", + "score": 0.12571211159229279 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1020771861076355 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11173336207866669 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4587.5, + "then": { + "operation": "boost", + "score": 0.09242705255746841 + }, + "else": { + "operation": "boost", + "score": 0.1403936743736267 + } + }, + "else": { + "operation": "boost", + "score": 0.07662253826856613 + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.028343534097075462 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10225725173950195 + }, + "else": { + "operation": "boost", + "score": 0.08977207541465759 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04784003645181656 + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25738.5, + "then": { + "operation": "boost", + "score": 0.04337133467197418 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.027733972296118736 + } + }, + "else": { + "operation": "boost", + "score": -0.14721085131168365 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.1174074187874794 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08495558053255081 + }, + "else": { + "operation": "boost", + "score": -0.14116284251213074 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023331614211201668 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11251112073659897 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.13242478668689728 + }, + "else": { + "operation": "boost", + "score": 0.05725358799099922 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1071901023387909 + }, + "else": { + "operation": "boost", + "score": 0.1268143206834793 + } + }, + "else": { + "operation": "boost", + "score": 0.0709509328007698 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03101569041609764 + } + }, + "else": { + "operation": "boost", + "score": 0.030191432684659958 + } + } + }, + "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" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08851035684347153 + } + }, + "else": { + "operation": "boost", + "score": 0.0772930160164833 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 130.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038823291659355164 + } + }, + "else": { + "operation": "boost", + "score": 0.12201056629419327 + } + }, + "else": { + "operation": "boost", + "score": 0.13739445805549622 + } + }, + "else": { + "operation": "boost", + "score": 0.11387787014245987 + } + } + }, + "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": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11175880581140518 + }, + "else": { + "operation": "boost", + "score": 0.07008089125156403 + } + }, + "else": { + "operation": "boost", + "score": 0.11414071172475815 + } + }, + "else": { + "operation": "boost", + "score": 0.03482695668935776 + } + }, + "else": { + "operation": "boost", + "score": -0.006223647855222225 + } + } + }, + "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": "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.08061143755912781 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07847628742456436 + }, + "else": { + "operation": "boost", + "score": 0.061814576387405396 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.050750840455293655 + }, + "else": { + "operation": "boost", + "score": 0.021225791424512863 + } + }, + "else": { + "operation": "boost", + "score": 0.01587645523250103 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.059151262044906616 + }, + "else": { + "operation": "boost", + "score": 0.09399254620075226 + } + }, + "else": { + "operation": "boost", + "score": 0.1101582944393158 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04118897393345833 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.021377094089984894 + }, + "else": { + "operation": "boost", + "score": 0.06340157240629196 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1777.5, + "then": { + "operation": "boost", + "score": 0.031607601791620255 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.06259813904762268 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12622815370559692 + }, + "else": { + "operation": "boost", + "score": 0.11473511159420013 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "then": { + "operation": "boost", + "score": 0.13949720561504364 + }, + "else": { + "operation": "boost", + "score": 0.16267986595630646 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.026722785085439682 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.039801131933927536 + }, + "else": { + "operation": "boost", + "score": 0.13536672294139862 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10941234230995178 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.09757696837186813 + }, + "else": { + "operation": "boost", + "score": 0.09863755106925964 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.028752312064170837 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.13638265430927277 + }, + "else": { + "operation": "boost", + "score": 0.07101336121559143 + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 445.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 477.0, + "then": { + "operation": "boost", + "score": 0.11320088058710098 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.5, + "then": { + "operation": "boost", + "score": 0.11839111149311066 + }, + "else": { + "operation": "boost", + "score": 0.10719413310289383 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11052091419696808 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09448181837797165 + } + }, + "else": { + "operation": "boost", + "score": 0.06450958549976349 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1547050178050995 + }, + "else": { + "operation": "boost", + "score": 0.12363237887620926 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1470053642988205 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09376242756843567 + }, + "else": { + "operation": "boost", + "score": 0.1885938197374344 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07823306322097778 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.17451238632202148 + }, + "else": { + "operation": "boost", + "score": 0.142891988158226 + } + }, + "else": { + "operation": "boost", + "score": 0.18812035024166107 + } + }, + "else": { + "operation": "boost", + "score": 0.11241914331912994 + } + }, + "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 + } + } + } + }, + "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_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.027600646018981934 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1014181450009346 + }, + "else": { + "operation": "boost", + "score": 0.08756676316261292 + } + } + }, + "else": { + "operation": "boost", + "score": 0.033795904368162155 + } + }, + "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 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11224117130041122 + }, + "else": { + "operation": "boost", + "score": 0.08010374009609222 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.05108007788658142 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11105041950941086 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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 + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": 0.039885006844997406 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1036478579044342 + }, + "else": { + "operation": "boost", + "score": 0.10622181743383408 + } + }, + "else": { + "operation": "boost", + "score": 0.060001637786626816 + } + }, + "else": { + "operation": "boost", + "score": 0.008301731199026108 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 420.5, + "then": { + "operation": "boost", + "score": 0.08446206152439117 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08992112427949905 + } + }, + "else": { + "operation": "boost", + "score": 0.14080257713794708 + } + }, + "else": { + "operation": "boost", + "score": -0.01429885346442461 + } + }, + "else": { + "operation": "boost", + "score": 0.07211491465568542 + } + } + }, + "else": { + "operation": "boost", + "score": 0.061131078749895096 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, + "then": { + "operation": "boost", + "score": 0.1133071631193161 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.0, + "then": { + "operation": "boost", + "score": 0.13801255822181702 + }, + "else": { + "operation": "boost", + "score": 0.14457130432128906 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11778328567743301 + } + }, + "else": { + "operation": "boost", + "score": 0.08033399283885956 + } + }, + "else": { + "operation": "boost", + "score": -0.11931850016117096 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10860223323106766 + }, + "else": { + "operation": "boost", + "score": 0.06622352451086044 + } + }, + "else": { + "operation": "boost", + "score": 0.11212041229009628 + } + }, + "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 + } + } + } + } + } + }, + { + "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": "boost", + "score": 0.08570417761802673 + }, + "else": { + "operation": "boost", + "score": 0.05079471319913864 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07603416591882706 + }, + "else": { + "operation": "boost", + "score": 0.05897475406527519 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033718764781951904 + }, + "else": { + "operation": "boost", + "score": 0.015076948329806328 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.035569921135902405 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10812162607908249 + }, + "else": { + "operation": "boost", + "score": 0.04070855304598808 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06445799022912979 + }, + "else": { + "operation": "boost", + "score": 0.03500058129429817 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.09834897518157959 + }, + "else": { + "operation": "boost", + "score": 0.06628977507352829 + } + }, + "else": { + "operation": "boost", + "score": 0.07024703174829483 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08630088716745377 + }, + "else": { + "operation": "boost", + "score": 0.0342656672000885 + } + }, + "else": { + "operation": "boost", + "score": 0.024478992447257042 + } + } + }, + "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_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03479917719960213 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10274571180343628 + }, + "else": { + "operation": "boost", + "score": 0.05772135779261589 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09536395221948624 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08711528778076172 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03845755383372307 + }, + "else": { + "operation": "boost", + "score": 0.12245634198188782 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0946936160326004 + }, + "else": { + "operation": "boost", + "score": -0.046769749373197556 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.026070283725857735 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08673078566789627 + }, + "else": { + "operation": "boost", + "score": 0.018916228786110878 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1655.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "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, + "then": { + "operation": "boost", + "score": 0.11240199208259583 + }, + "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 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "boost", + "score": 0.08888094127178192 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.190084770321846 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66.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 + } + }, + "else": { + "operation": "boost", + "score": 0.015148986130952835 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11045077443122864 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18941830098628998 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10875165462493896 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 338.0, + "then": { + "operation": "boost", + "score": 0.11568998545408249 + }, + "else": { + "operation": "boost", + "score": 0.13648399710655212 + } + }, + "else": { + "operation": "boost", + "score": 0.15084147453308105 + } + }, + "else": { + "operation": "boost", + "score": 0.08338239043951035 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "boost", + "score": 0.11719595640897751 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.17676067352294922 + }, + "else": { + "operation": "boost", + "score": 0.09555409848690033 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.032869525253772736 + } + }, + "else": { + "operation": "boost", + "score": 0.00882314145565033 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 34.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, + "then": { + "operation": "boost", + "score": -0.04336640611290932 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009396064095199108 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07919379323720932 + }, + "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.10187959671020508 + }, + "else": { + "operation": "boost", + "score": 0.11123986542224884 + } + }, + "else": { + "operation": "boost", + "score": -0.11268242448568344 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.040456321090459824 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08269203454256058 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.042621031403541565 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14667415618896484 + }, + "else": { + "operation": "boost", + "score": 0.019213631749153137 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07779813557863235 + }, + "else": { + "operation": "boost", + "score": 0.05128468573093414 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.08928440511226654 + }, + "else": { + "operation": "boost", + "score": 0.023995760828256607 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12562914192676544 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04373704642057419 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09420865774154663 + }, + "else": { + "operation": "boost", + "score": 0.11474570631980896 + } + }, + "else": { + "operation": "boost", + "score": 0.029382197186350822 + } + }, + "else": { + "operation": "boost", + "score": -0.0017181235598400235 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07725929468870163 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1573646366596222 + } + }, + "else": { + "operation": "boost", + "score": 0.04885495454072952 + } + }, + "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.059314336627721786 + }, + "else": { + "operation": "boost", + "score": 0.01657291315495968 + } + }, + "else": { + "operation": "boost", + "score": -0.1008860170841217 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48040.5, + "then": { + "operation": "boost", + "score": 0.13791592419147491 + }, + "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_Expression", + "CCC_ParenthesizedExpression" + ], + "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.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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09305676817893982 + }, + "else": { + "operation": "boost", + "score": 0.1509864628314972 + } + }, + "else": { + "operation": "boost", + "score": 0.06730393320322037 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005707033444195986 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.049694400280714035 + }, + "else": { + "operation": "boost", + "score": 0.02838216722011566 + } + } + }, + "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.014585739001631737 + }, + "else": { + "operation": "boost", + "score": -0.13497376441955566 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03855176642537117 + } + } + }, + "else": { + "operation": "boost", + "score": -0.054306745529174805 + } + } + } + } + }, + { + "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.07739521563053131 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07359247654676437 + }, + "else": { + "operation": "boost", + "score": 0.056653909385204315 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0571376271545887 + }, + "else": { + "operation": "boost", + "score": 0.02354651503264904 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + }, + "else": { + "operation": "boost", + "score": 0.014348679222166538 + } + }, + "else": { + "operation": "boost", + "score": -0.022318312898278236 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "boost", + "score": 0.08315110206604004 + }, + "else": { + "operation": "boost", + "score": 0.1254289299249649 + } + }, + "else": { + "operation": "boost", + "score": 0.019457019865512848 + } + }, + "else": { + "operation": "boost", + "score": 0.05659900978207588 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09527453035116196 + }, + "else": { + "operation": "boost", + "score": 0.0622606985270977 + } + }, + "else": { + "operation": "boost", + "score": 0.06809019297361374 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08386442065238953 + }, + "else": { + "operation": "boost", + "score": 0.03215687349438667 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05604616180062294 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.03547872602939606 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.0472855381667614 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05234327167272568 + }, + "else": { + "operation": "boost", + "score": 0.037867575883865356 + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "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, + "then": { + "operation": "boost", + "score": -0.1020577996969223 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1655.0, + "then": { + "operation": "boost", + "score": 0.0528867170214653 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008938152343034744 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1152471974492073 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 895.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 964.5, + "then": { + "operation": "boost", + "score": 0.11377087980508804 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11960890144109726 + }, + "else": { + "operation": "boost", + "score": 0.1310175508260727 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12249402701854706 + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1801.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1829.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007869874127209187 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1037953644990921 + }, + "else": { + "operation": "boost", + "score": 0.12384016066789627 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16851845383644104 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.0, + "then": { + "operation": "boost", + "score": 0.18120387196540833 + }, + "else": { + "operation": "boost", + "score": 0.11780226975679398 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 368.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09767910838127136 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08785437792539597 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07117015868425369 + } + } + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13063138723373413 + }, + "else": { + "operation": "boost", + "score": 0.09199492633342743 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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.021462159231305122 + }, + "else": { + "operation": "boost", + "score": 0.08097857236862183 + } + }, + "else": { + "operation": "boost", + "score": 0.046525560319423676 + } + }, + "else": { + "operation": "boost", + "score": 0.014556000009179115 + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.016049299389123917 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.05540809407830238 + }, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11695311963558197 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "boost", + "score": 0.06440487504005432 + }, + "else": { + "operation": "boost", + "score": 0.03193691745400429 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011390367522835732 + } + }, + "else": { + "operation": "boost", + "score": -0.00012239014904480428 + } + }, + "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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.005864617880433798 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": -0.04172778129577637 + }, + "else": { + "operation": "boost", + "score": 0.14308856427669525 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12245084345340729 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.14779351651668549 + }, + "else": { + "operation": "boost", + "score": 0.17246276140213013 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10032424330711365 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11123254150152206 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1010272204875946 + } + }, + "else": { + "operation": "boost", + "score": 0.1247599869966507 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07353707402944565 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11343860626220703 + } + } + }, + "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.06479127705097198 + }, + "else": { + "operation": "boost", + "score": 0.11055922508239746 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.05430964380502701 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { + "operation": "boost", + "score": 0.1281413435935974 + }, + "else": { + "operation": "boost", + "score": 0.15642663836479187 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01485552079975605 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.06449232995510101 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.041011009365320206 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06823376566171646 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.13614411652088165 + }, + "else": { + "operation": "boost", + "score": -0.16801412403583527 + } + }, + "else": { + "operation": "boost", + "score": 0.10703706741333008 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0669458881020546 + } + }, + "else": { + "operation": "boost", + "score": 0.021058103069663048 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0735713317990303 + } + }, + "else": { + "operation": "boost", + "score": -0.046467263251543045 + } + } + } + } + } + } + }, + { + "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.07727046310901642 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07211777567863464 + }, + "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 + }, + "else": { + "operation": "boost", + "score": 0.04584406688809395 + } + }, + "else": { + "operation": "boost", + "score": 0.013159015215933323 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0054703219793736935 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09048708528280258 + }, + "else": { + "operation": "boost", + "score": 0.02569620870053768 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011609482578933239 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.03232249617576599 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10383899509906769 + }, + "else": { + "operation": "boost", + "score": 0.03445931524038315 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06176646798849106 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.3446027636528015 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.5, + "then": { + "operation": "boost", + "score": 0.006162631791085005 + }, + "else": { + "operation": "boost", + "score": 0.06913512945175171 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.14848637580871582 + }, + "else": { + "operation": "boost", + "score": 0.18791860342025757 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013303739950060844 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.09320724010467529 + }, + "else": { + "operation": "boost", + "score": 0.06203386187553406 + } + }, + "else": { + "operation": "boost", + "score": 0.0660444051027298 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08280093222856522 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03917017951607704 + }, + "else": { + "operation": "boost", + "score": 0.039587583392858505 + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "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_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023598099127411842 + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.0869814082980156 + }, + "else": { + "operation": "boost", + "score": 0.016295582056045532 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.051097236573696136 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.1263977438211441 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10508231073617935 + }, + "else": { + "operation": "boost", + "score": 0.046999212354421616 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1655.0, + "then": { + "operation": "boost", + "score": 0.03643530234694481 + }, + "else": { + "operation": "boost", + "score": 0.10153451561927795 + } + }, + "else": { + "operation": "boost", + "score": 0.09732703119516373 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "boost", + "score": 0.11846892535686493 + }, + "else": { + "operation": "boost", + "score": 0.1282535195350647 + } + }, + "else": { + "operation": "boost", + "score": 0.015275701880455017 + } + }, + "else": { + "operation": "boost", + "score": 0.1036868691444397 + } + }, + "else": { + "operation": "boost", + "score": 0.1015864759683609 + } + }, + "else": { + "operation": "boost", + "score": 0.10691789537668228 + } + }, + "else": { + "operation": "boost", + "score": 0.07786671817302704 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.06072778254747391 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01043890230357647 + }, + "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.08190862089395523 + }, + "else": { + "operation": "boost", + "score": -0.017918990924954414 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14837567508220673 + }, + "else": { + "operation": "boost", + "score": 0.09364525228738785 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.13924898207187653 + }, + "else": { + "operation": "boost", + "score": 0.012269015423953533 + } + } + } + } + } + } + }, + "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_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.05876217409968376 + }, + "else": { + "operation": "boost", + "score": -0.015424588695168495 + } + }, + "else": { + "operation": "boost", + "score": 0.07577481120824814 + } + }, + "else": { + "operation": "boost", + "score": 0.030701227486133575 + } + }, + "else": { + "operation": "boost", + "score": 0.018696025013923645 + } + }, + "else": { + "operation": "boost", + "score": -0.012588736601173878 + } + } + }, + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07529488205909729 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.018015222623944283 + }, + "else": { + "operation": "boost", + "score": 0.11216713488101959 + } + }, + "else": { + "operation": "boost", + "score": 0.10046923905611038 + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.005688650067895651 + }, + "else": { + "operation": "boost", + "score": 0.06596025079488754 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.054416727274656296 + }, + "else": { + "operation": "boost", + "score": 0.11653310060501099 + } + }, + "else": { + "operation": "boost", + "score": 0.08156991750001907 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023190535604953766 + } + }, + "else": { + "operation": "boost", + "score": -0.13670851290225983 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.04028698056936264 + }, + "else": { + "operation": "boost", + "score": -0.06275209039449692 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04669027030467987 + } + }, + "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_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.013557535596191883 + }, + "else": { + "operation": "boost", + "score": -0.09897337853908539 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48040.5, + "then": { + "operation": "boost", + "score": 0.14212144911289215 + }, + "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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04481584578752518 + }, + "else": { + "operation": "boost", + "score": 0.1069696918129921 + } + }, + "else": { + "operation": "boost", + "score": 0.06480927020311356 + } + }, + "else": { + "operation": "boost", + "score": 0.006051466800272465 + } + }, + "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.024361245334148407 + }, + "else": { + "operation": "boost", + "score": -0.048930563032627106 + } + } + }, + "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.012875586748123169 + }, + "else": { + "operation": "boost", + "score": -0.13247938454151154 + } + } + } + } + } + }, + "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 + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.058696448802948 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11587484180927277 + }, + "else": { + "operation": "boost", + "score": 0.11522259563207626 + } + }, + "else": { + "operation": "boost", + "score": 0.11051858216524124 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11881748586893082 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05382249504327774 + } + } + } + } + } + }, + { + "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.07432439923286438 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06966425478458405 + }, + "else": { + "operation": "boost", + "score": 0.051887430250644684 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011303560808300972 + }, + "else": { + "operation": "boost", + "score": 0.027896011248230934 + } + }, + "else": { + "operation": "boost", + "score": -0.010709203779697418 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.029691999778151512 + }, + "else": { + "operation": "boost", + "score": 0.08612198382616043 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05826666206121445 + }, + "else": { + "operation": "boost", + "score": 0.030850039795041084 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07151864469051361 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07892118394374847 + }, + "else": { + "operation": "boost", + "score": 0.030440209433436394 + } + }, + "else": { + "operation": "boost", + "score": 0.023879574611783028 + } + } + }, + "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.01484852097928524 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03433272987604141 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.060479357838630676 + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.050676118582487106 + }, + "else": { + "operation": "boost", + "score": 0.01902743987739086 + } + }, + "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": 1655.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.13554921746253967 + }, + "else": { + "operation": "boost", + "score": 0.04971864074468613 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.034048892557621 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.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 + } + }, + "else": { + "operation": "boost", + "score": 0.10335750877857208 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03187146410346031 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.0636332631111145 + }, + "else": { + "operation": "boost", + "score": 0.10957912355661392 + } + }, + "else": { + "operation": "boost", + "score": 0.031779512763023376 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "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.032399509102106094 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12069226056337357 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.028671691194176674 + }, + "else": { + "operation": "boost", + "score": 0.12484578788280487 + } + }, + "else": { + "operation": "boost", + "score": 0.05832025408744812 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1260988712310791 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": 0.0819750428199768 + }, + "else": { + "operation": "boost", + "score": 0.11355293542146683 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07446245849132538 + } + }, + "else": { + "operation": "boost", + "score": 0.10463640838861465 + } + }, + "else": { + "operation": "boost", + "score": 0.10453607887029648 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.035140007734298706 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014654670841991901 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07634703814983368 + }, + "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.10091641545295715 + }, + "else": { + "operation": "boost", + "score": 0.10654652863740921 + } + }, + "else": { + "operation": "boost", + "score": -0.10831469297409058 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00467509962618351 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025921089574694633 + }, + "else": { + "operation": "boost", + "score": 0.08468671888113022 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03777266666293144 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08007305860519409 + }, + "else": { + "operation": "boost", + "score": 0.008043471723794937 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12531229853630066 + }, + "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_Statement", + "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": "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.002740191062912345 + }, + "else": { + "operation": "boost", + "score": -1.1401705741882324 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06551337987184525 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.045352835208177567 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.10985184460878372 + }, + "else": { + "operation": "boost", + "score": 0.059018880128860474 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00017237842257600278 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 612.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 667.5, + "then": { + "operation": "boost", + "score": 0.1035631075501442 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18603695929050446 + }, + "else": { + "operation": "boost", + "score": 0.13385921716690063 + } + } + }, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0722145214676857 + }, + "else": { + "operation": "boost", + "score": 0.09770917147397995 + } + }, + "else": { + "operation": "boost", + "score": 0.08624891936779022 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026247525587677956 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008216330781579018 + } + } + } + } + } + }, + "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.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" + ], + "then": { + "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": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04088308662176132 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05275219306349754 + }, + "else": { + "operation": "boost", + "score": 0.10478495806455612 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08927557617425919 + }, + "else": { + "operation": "boost", + "score": 0.13558951020240784 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04938371479511261 + } + }, + "else": { + "operation": "boost", + "score": -0.00823113601654768 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04992371425032616 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48040.5, + "then": { + "operation": "boost", + "score": 0.1446925550699234 + }, + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": -0.011630917899310589 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03421962261199951 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.008083680644631386 + }, + "else": { + "operation": "boost", + "score": -0.06354579329490662 + } + } + } + } + } + }, + { + "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.07247479259967804 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06759857386350632 + }, + "else": { + "operation": "boost", + "score": 0.05011707916855812 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.04158254712820053 + }, + "else": { + "operation": "boost", + "score": 0.011307655833661556 + } + }, + "else": { + "operation": "boost", + "score": 0.009237141348421574 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05100128799676895 + }, + "else": { + "operation": "boost", + "score": 0.0853959321975708 + } + }, + "else": { + "operation": "boost", + "score": 0.10918077826499939 + } + }, + "else": { + "operation": "boost", + "score": 0.03915306553244591 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07686860859394073 + }, + "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 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.121445432305336 + }, + "else": { + "operation": "boost", + "score": -0.0068293483927845955 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.08545329421758652 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.006768102757632732 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09552633762359619 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10543693602085114 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04788349196314812 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.18724972009658813 + }, + "else": { + "operation": "boost", + "score": 0.12987294793128967 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12489160895347595 + }, + "else": { + "operation": "boost", + "score": 0.03684137016534805 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14906767010688782 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02704399824142456 + } + }, + "else": { + "operation": "boost", + "score": 0.029064660891890526 + } + }, + "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.04983154684305191 + }, + "else": { + "operation": "boost", + "score": -0.017003266140818596 + } + }, + "else": { + "operation": "boost", + "score": 0.01903832145035267 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.13662028312683105 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13786178827285767 + }, + "else": { + "operation": "boost", + "score": 0.11901582032442093 + } + }, + "else": { + "operation": "boost", + "score": -0.1476818025112152 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.024161318317055702 + }, + "else": { + "operation": "boost", + "score": 0.1581447571516037 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.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": 205.0, + "then": { + "operation": "boost", + "score": 0.13964872062206268 + }, + "else": { + "operation": "boost", + "score": 0.17924590408802032 + } + }, + "else": { + "operation": "boost", + "score": -0.10631784051656723 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232.5, + "then": { + "operation": "boost", + "score": 0.14039546251296997 + }, + "else": { + "operation": "boost", + "score": 0.1627078652381897 + } + }, + "else": { + "operation": "boost", + "score": 0.1032627746462822 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.1152161955833435 + }, + "else": { + "operation": "boost", + "score": 0.11689337342977524 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.011507111601531506 + }, + "else": { + "operation": "boost", + "score": 0.07016254216432571 + } + } + } + } + }, + "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": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.34773463010787964 + }, + "else": { + "operation": "boost", + "score": 0.08362291008234024 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.017799323424696922 + }, + "else": { + "operation": "boost", + "score": 0.0724613219499588 + } + }, + "else": { + "operation": "boost", + "score": 0.046166930347681046 + } + }, + "else": { + "operation": "boost", + "score": 0.00356474332511425 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.05320855602622032 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.11332371830940247 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14499768614768982 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.016953013837337494 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.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", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.11542484909296036 + }, + "else": { + "operation": "boost", + "score": 0.034135546535253525 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.023051392287015915 + }, + "else": { + "operation": "boost", + "score": -0.12749691307544708 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "boost", + "score": 0.05864420905709267 + }, + "else": { + "operation": "boost", + "score": 0.02739000879228115 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008483290672302246 + } + }, + "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_Statement", + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11971090734004974 + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.1413009762763977 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0948420837521553 + } + }, + "else": { + "operation": "boost", + "score": 0.11564622819423676 + } + }, + "else": { + "operation": "boost", + "score": 0.05757405608892441 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004112722352147102 + } + }, + "else": { + "operation": "boost", + "score": 0.07266556471586227 + } + }, + "else": { + "operation": "boost", + "score": 0.034563712775707245 + } + }, + "else": { + "operation": "boost", + "score": 0.012458146549761295 + } + }, + "else": { + "operation": "boost", + "score": -0.0022576043847948313 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02002972923219204 + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.004394764080643654 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09451055526733398 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.12004351615905762 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07088609784841537 + } + }, + "else": { + "operation": "boost", + "score": 0.06601082533597946 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 598.0, + "then": { + "operation": "boost", + "score": 0.13137125968933105 + }, + "else": { + "operation": "boost", + "score": 0.10326407104730606 + } + }, + "else": { + "operation": "boost", + "score": 0.1028698980808258 + } + }, + "else": { + "operation": "boost", + "score": 0.11904848366975784 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10751332342624664 + } + } + }, + "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 + } + }, + "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": "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.07222414016723633 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06519433110952377 + }, + "else": { + "operation": "boost", + "score": 0.04877351596951485 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.029421407729387283 + }, + "else": { + "operation": "boost", + "score": 0.0065890769474208355 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11738395690917969 + }, + "else": { + "operation": "boost", + "score": 0.08675923198461533 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.050860870629549026 + }, + "else": { + "operation": "boost", + "score": 0.08392170071601868 + } + }, + "else": { + "operation": "boost", + "score": 0.109229676425457 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.20764370262622833 + }, + "else": { + "operation": "boost", + "score": 0.08602550625801086 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06362523138523102 + }, + "else": { + "operation": "boost", + "score": 0.04969543591141701 + } + } + } + } + }, + "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.01235498022288084 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029538456350564957 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05391128733754158 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09359093010425568 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1061132624745369 + }, + "else": { + "operation": "boost", + "score": 0.10217756778001785 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11126065999269485 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09842713177204132 + }, + "else": { + "operation": "boost", + "score": 0.08033489435911179 + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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, + "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": "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0010255732340738177 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02658984810113907 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1449902504682541 + }, + "else": { + "operation": "boost", + "score": 0.08420087397098541 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0804515853524208 + }, + "else": { + "operation": "boost", + "score": 0.057560063898563385 + } + } + }, + "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.01216439250856638 + }, + "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": 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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09325142204761505 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10826311260461807 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05703388899564743 + }, + "else": { + "operation": "boost", + "score": 0.1124764233827591 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.061418186873197556 + }, + "else": { + "operation": "boost", + "score": 0.08992784470319748 + } + } + }, + "else": { + "operation": "boost", + "score": -0.095797598361969 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0577605776488781 + }, + "else": { + "operation": "boost", + "score": -0.13635006546974182 + } + }, + "else": { + "operation": "boost", + "score": -0.05356860160827637 + } + }, + "else": { + "operation": "boost", + "score": -0.015602939762175083 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12376967072486877 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27896.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50186.0, + "then": { + "operation": "boost", + "score": 0.08871585130691528 + }, + "else": { + "operation": "boost", + "score": 0.10619626939296722 + } + }, + "else": { + "operation": "boost", + "score": 0.05839235708117485 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010762861929833889 + } + }, + "else": { + "operation": "boost", + "score": 0.030666066333651543 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06510420143604279 + }, + "else": { + "operation": "boost", + "score": 0.09401185810565948 + } + }, + "else": { + "operation": "boost", + "score": -0.1579100638628006 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08090604841709137 + } + }, + "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": "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": "boost", + "score": 0.10325983166694641 + }, + "else": { + "operation": "boost", + "score": 0.006884542293846607 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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 + }, + "else": { + "operation": "boost", + "score": 0.12013613432645798 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05994502827525139 + }, + "else": { + "operation": "boost", + "score": 0.052996113896369934 + } + }, + "else": { + "operation": "boost", + "score": -0.11421922594308853 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008275104686617851 + } + }, + "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_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07341977208852768 + }, + "else": { + "operation": "boost", + "score": 0.020795416086912155 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.013795536942780018 + }, + "else": { + "operation": "boost", + "score": -0.10133741050958633 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12097401916980743 + }, + "else": { + "operation": "boost", + "score": -0.03872939199209213 + } + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026214485988020897 + }, + "else": { + "operation": "boost", + "score": 0.11092553287744522 + } + }, + "else": { + "operation": "boost", + "score": -0.11524703353643417 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04851825162768364 + } + } + } + } + } + }, + { + "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.07041069865226746 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.2656443119049072 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06313212215900421 + }, + "else": { + "operation": "boost", + "score": 0.049197420477867126 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.047759175300598145 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.015176425687968731 + }, + "else": { + "operation": "boost", + "score": -0.012654883787035942 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.049054794013500214 + }, + "else": { + "operation": "boost", + "score": 0.08060923218727112 + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.014725437387824059 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.061050791293382645 + }, + "else": { + "operation": "boost", + "score": 0.04725019261240959 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.013664442114531994 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "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, + "then": { + "operation": "boost", + "score": -0.15547150373458862 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14721687138080597 + } + }, + "else": { + "operation": "boost", + "score": 0.047667354345321655 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08474178612232208 + }, + "else": { + "operation": "boost", + "score": -0.05866106599569321 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55419.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4050736427307129 + }, + "else": { + "operation": "boost", + "score": 0.10443674027919769 + } + }, + "else": { + "operation": "boost", + "score": 0.07765558362007141 + } + }, + "else": { + "operation": "boost", + "score": 0.012777439318597317 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1308603286743164 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.019523795694112778 + }, + "else": { + "operation": "boost", + "score": 0.15029318630695343 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 192.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 169.5, + "then": { + "operation": "boost", + "score": 0.12945236265659332 + }, + "else": { + "operation": "boost", + "score": 0.125876322388649 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 216.0, + "then": { + "operation": "boost", + "score": 0.11579297482967377 + }, + "else": { + "operation": "boost", + "score": 0.06862666457891464 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07063248753547668 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09390970319509506 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.14625485241413116 + }, + "else": { + "operation": "boost", + "score": 0.08862808346748352 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06294094026088715 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 444.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.12444522976875305 + }, + "else": { + "operation": "boost", + "score": 0.14381113648414612 + } + }, + "else": { + "operation": "boost", + "score": 0.0929739698767662 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.013700990006327629 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06556731462478638 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0032198969274759293 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.059051014482975006 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09781413525342941 + }, + "else": { + "operation": "boost", + "score": 0.06308673322200775 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.001204815460368991 + } + }, + "else": { + "operation": "boost", + "score": 0.005867203697562218 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.051536887884140015 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.10728699713945389 + }, + "else": { + "operation": "boost", + "score": 0.017422588542103767 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017024563625454903 + } + }, + "else": { + "operation": "boost", + "score": -0.012724126689136028 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0007443382637575269 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03645644709467888 + }, + "else": { + "operation": "boost", + "score": 0.10729101300239563 + } + }, + "else": { + "operation": "boost", + "score": 0.07070466130971909 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.03899461030960083 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0827508419752121 + }, + "else": { + "operation": "boost", + "score": 0.03621167689561844 + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.13231968879699707 + }, + "else": { + "operation": "boost", + "score": 0.10536221414804459 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 137.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.16998472809791565 + } + }, + "else": { + "operation": "boost", + "score": 0.12400530278682709 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11051782965660095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10640218108892441 + }, + "else": { + "operation": "boost", + "score": 0.12446863204240799 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11262989044189453 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06645481288433075 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04695998132228851 + } + }, + "else": { + "operation": "boost", + "score": -0.013563577085733414 + } + } + } + } + } + } + } + }, + { + "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.06666257232427597 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061019156128168106 + }, + "else": { + "operation": "boost", + "score": 0.045681532472372055 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03791579604148865 + }, + "else": { + "operation": "boost", + "score": 0.018224548548460007 + } + }, + "else": { + "operation": "boost", + "score": 0.004666405729949474 + } + } + }, + "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": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05031771585345268 + } + }, + "else": { + "operation": "boost", + "score": 0.03428734838962555 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09474638849496841 + }, + "else": { + "operation": "boost", + "score": 0.10916844755411148 + } + }, + "else": { + "operation": "boost", + "score": 0.08258388191461563 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03229885175824165 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04777709022164345 + }, + "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": "FilterLength", + "threshold": 0.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 + } + }, + "else": { + "operation": "boost", + "score": 0.050405945628881454 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.013874680735170841 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05953061953186989 + }, + "else": { + "operation": "boost", + "score": 0.046627454459667206 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011471454054117203 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.11455079168081284 + }, + "else": { + "operation": "boost", + "score": 0.00939038023352623 + } + }, + "else": { + "operation": "boost", + "score": -0.11593329906463623 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "boost", + "score": 0.15242551267147064 + }, + "else": { + "operation": "boost", + "score": 0.0818052813410759 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13873402774333954 + } + }, + "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.02624613046646118 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": 0.12035530060529709 + }, + "else": { + "operation": "boost", + "score": 0.17121979594230652 + } + }, + "else": { + "operation": "boost", + "score": 0.08852727711200714 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12661460041999817 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12922492623329163 + }, + "else": { + "operation": "boost", + "score": 0.11309963464736938 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 134.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 169.0, + "then": { + "operation": "boost", + "score": 0.1430450975894928 + }, + "else": { + "operation": "boost", + "score": 0.1542794555425644 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0963841900229454 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 192.0, + "then": { + "operation": "boost", + "score": 0.1034172847867012 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 169.5, + "then": { + "operation": "boost", + "score": 0.12638603150844574 + }, + "else": { + "operation": "boost", + "score": 0.11929847300052643 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 216.0, + "then": { + "operation": "boost", + "score": 0.11207103729248047 + }, + "else": { + "operation": "boost", + "score": 0.06495088338851929 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06758882850408554 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08986886590719223 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.13984927535057068 + }, + "else": { + "operation": "boost", + "score": 0.08579093962907791 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.010910247452557087 + }, + "else": { + "operation": "boost", + "score": 0.064510777592659 + } + } + } + } + }, + "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.08848447352647781 + }, + "else": { + "operation": "boost", + "score": 0.10747960954904556 + } + }, + "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 + } + } + } + }, + "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": "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_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10359755903482437 + }, + "else": { + "operation": "boost", + "score": 0.06288352608680725 + } + }, + "else": { + "operation": "boost", + "score": 0.022405492141842842 + } + }, + "else": { + "operation": "boost", + "score": -0.09478987008333206 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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 + } + }, + "else": { + "operation": "boost", + "score": 0.04168393835425377 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.06691522151231766 + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "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" + ], + "then": { + "operation": "boost", + "score": 0.10412417352199554 + }, + "else": { + "operation": "boost", + "score": -0.02893233299255371 + } + }, + "else": { + "operation": "boost", + "score": 0.02591473050415516 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0034197987988591194 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.017093684524297714 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0008421337697654963 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": -0.043906036764383316 + }, + "else": { + "operation": "boost", + "score": 0.12377971410751343 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1690823882818222 + }, + "else": { + "operation": "boost", + "score": 0.11620084941387177 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.10326826572418213 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.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 + } + }, + "else": { + "operation": "boost", + "score": 0.14372064173221588 + } + }, + "else": { + "operation": "boost", + "score": -0.10076013207435608 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09563815593719482 + } + }, + "else": { + "operation": "boost", + "score": 0.08148632943630219 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 598.0, + "then": { + "operation": "boost", + "score": 0.12285669147968292 + }, + "else": { + "operation": "boost", + "score": 0.10854987055063248 + } + }, + "else": { + "operation": "boost", + "score": 0.09811702370643616 + } + }, + "else": { + "operation": "boost", + "score": 0.11677918583154678 + } + }, + "else": { + "operation": "boost", + "score": 0.10468233376741409 + } + }, + "else": { + "operation": "boost", + "score": 0.10359163582324982 + } + } + }, + "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.05449614301323891 + }, + "else": { + "operation": "boost", + "score": 0.10053984075784683 + } + }, + "else": { + "operation": "boost", + "score": 0.030151082202792168 + } + }, + "else": { + "operation": "boost", + "score": -0.008171120658516884 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04071827977895737 + } + } + } + } + } + }, + { + "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.06704459339380264 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.058560796082019806 + }, + "else": { + "operation": "boost", + "score": 0.043782684952020645 + } + } + }, + "else": { + "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": "boost", + "score": 0.18870759010314941 + }, + "else": { + "operation": "boost", + "score": 0.09423670917749405 + } + }, + "else": { + "operation": "boost", + "score": 0.048422519117593765 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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" + ], + "then": { + "operation": "boost", + "score": 0.026576746255159378 + }, + "else": { + "operation": "boost", + "score": -0.020871946588158607 + } + } + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09408847242593765 + }, + "else": { + "operation": "boost", + "score": 0.10880915075540543 + } + }, + "else": { + "operation": "boost", + "score": 0.07956574857234955 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012114772573113441 + }, + "else": { + "operation": "boost", + "score": 0.03748892992734909 + } + }, + "else": { + "operation": "boost", + "score": -0.6578629612922668 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.012212756089866161 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00820869579911232 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "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" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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.14536039531230927 + }, + "else": { + "operation": "boost", + "score": 0.08196290582418442 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 279.0, + "then": { + "operation": "boost", + "score": 0.15523941814899445 + }, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07027511298656464 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0759400725364685 + }, + "else": { + "operation": "boost", + "score": 0.09183134883642197 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14345470070838928 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0384230799973011 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287036.5, + "then": { + "operation": "boost", + "score": 0.10264626890420914 + }, + "else": { + "operation": "boost", + "score": 0.021011389791965485 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11709895730018616 + }, + "else": { + "operation": "boost", + "score": 0.11316130310297012 + } + }, + "else": { + "operation": "boost", + "score": 0.14668583869934082 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1245487853884697 + }, + "else": { + "operation": "boost", + "score": 0.290811151266098 + } + }, + "else": { + "operation": "boost", + "score": 0.04206477105617523 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 462.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 524.5, + "then": { + "operation": "boost", + "score": 0.10365626215934753 + }, + "else": { + "operation": "boost", + "score": 0.11517813801765442 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08203358948230743 + } + } + } + }, + "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.08368416130542755 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "boost", + "score": 0.15910638868808746 + }, + "else": { + "operation": "boost", + "score": 0.10208076983690262 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06667904555797577 + } + }, + "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.1267312467098236 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.14614109694957733 + }, + "else": { + "operation": "boost", + "score": 0.12892241775989532 + } + }, + "else": { + "operation": "boost", + "score": 0.1074765995144844 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.05471549183130264 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 444.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.1230769008398056 + }, + "else": { + "operation": "boost", + "score": 0.13731610774993896 + } + }, + "else": { + "operation": "boost", + "score": 0.08588683605194092 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0015538142761215568 + } + }, + "else": { + "operation": "boost", + "score": -0.007533933501690626 + } + } + } + } + } + }, + "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.10113408416509628 + }, + "else": { + "operation": "boost", + "score": 0.1060149297118187 + } + }, + "else": { + "operation": "boost", + "score": 0.009257875382900238 + } + }, + "else": { + "operation": "boost", + "score": -0.021904924884438515 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.01375966053456068 + }, + "else": { + "operation": "boost", + "score": -0.09194856882095337 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03809858113527298 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0236669834703207 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.06181579828262329 + }, + "else": { + "operation": "boost", + "score": -0.02003655768930912 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015869608148932457 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10220884531736374 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43376.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.035966504365205765 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11417972296476364 + }, + "else": { + "operation": "boost", + "score": 0.12179913371801376 + } + }, + "else": { + "operation": "boost", + "score": 0.12128493934869766 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11284860223531723 + }, + "else": { + "operation": "boost", + "score": 0.12461256980895996 + } + }, + "else": { + "operation": "boost", + "score": 0.13097965717315674 + } + } + }, + "else": { + "operation": "boost", + "score": -0.235726460814476 + } + }, + "else": { + "operation": "boost", + "score": 0.08253193646669388 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09327546507120132 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1985.5, + "then": { + "operation": "boost", + "score": 0.0725882276892662 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1949.0, + "then": { + "operation": "boost", + "score": 0.13016360998153687 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1048223003745079 + }, + "else": { + "operation": "boost", + "score": 0.12866926193237305 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1227688118815422 + }, + "else": { + "operation": "boost", + "score": 0.12833374738693237 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04387744888663292 + } + }, + "else": { + "operation": "boost", + "score": -0.012258805334568024 + } + } + } + } + } + } + } + }, + { + "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.06582143902778625 + }, + "else": { + "operation": "boost", + "score": 0.04970632120966911 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04304303601384163 + }, + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017490170896053314 + }, + "else": { + "operation": "boost", + "score": 0.006274333689361811 + } + }, + "else": { + "operation": "boost", + "score": -0.013712734915316105 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03142569586634636 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.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 + } + }, + "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 + } + } + }, + "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.038437698036432266 + }, + "else": { + "operation": "boost", + "score": -0.08943519741296768 + } + }, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09007113426923752 + }, + "else": { + "operation": "boost", + "score": 0.05331484228372574 + } + }, + "else": { + "operation": "boost", + "score": 0.009620193392038345 + } + }, + "else": { + "operation": "boost", + "score": 0.022233380004763603 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.008230841718614101 + }, + "else": { + "operation": "boost", + "score": 0.04642733931541443 + } + } + } + } + } + }, + "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.009565461426973343 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029303142800927162 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.048440344631671906 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08935125172138214 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10146709531545639 + }, + "else": { + "operation": "boost", + "score": 0.0933193638920784 + } + } + } + } + } + }, + "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.06594724953174591 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13224762678146362 + }, + "else": { + "operation": "boost", + "score": 0.16078239679336548 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1035054549574852 + } + }, + "else": { + "operation": "boost", + "score": 0.0930003970861435 + } + }, + "else": { + "operation": "boost", + "score": 0.01622277870774269 + } + } + }, + "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": "boost", + "score": -0.05276500806212425 + }, + "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_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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.11855778098106384 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10777147114276886 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.31319084763526917 + }, + "else": { + "operation": "boost", + "score": 0.09601076692342758 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0680222436785698 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": 0.047401972115039825 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.11467323452234268 + }, + "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.12211865186691284 + }, + "else": { + "operation": "boost", + "score": 0.026000913232564926 + } + }, + "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.03445648029446602 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "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 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06342969834804535 + } + }, + "else": { + "operation": "boost", + "score": 0.06187012419104576 + } + } + }, + "else": { + "operation": "boost", + "score": 0.053822193294763565 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.032492246478796005 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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, + "then": { + "operation": "boost", + "score": -0.15036839246749878 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 49999.5, + "then": { + "operation": "boost", + "score": 0.10006124526262283 + }, + "else": { + "operation": "boost", + "score": 0.060305848717689514 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.007601196877658367 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.07158362120389938 + }, + "else": { + "operation": "boost", + "score": 0.08614715933799744 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10079037398099899 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10981231927871704 + }, + "else": { + "operation": "boost", + "score": 0.11939392238855362 + } + }, + "else": { + "operation": "boost", + "score": 0.11098816990852356 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.09906832873821259 + }, + "else": { + "operation": "boost", + "score": 0.10115804523229599 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05387040972709656 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.10263129323720932 + }, + "else": { + "operation": "boost", + "score": -0.05397317558526993 + } + }, + "else": { + "operation": "boost", + "score": 0.06985973566770554 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.051539864391088486 + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "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.026525232940912247 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06386083364486694 + }, + "else": { + "operation": "boost", + "score": 0.11332676559686661 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006471634842455387 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.048501234501600266 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08463010936975479 + }, + "else": { + "operation": "boost", + "score": 0.10683505237102509 + } + }, + "else": { + "operation": "boost", + "score": 0.017343079671263695 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48040.5, + "then": { + "operation": "boost", + "score": 0.14825505018234253 + }, + "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": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0972893238067627 + }, + "else": { + "operation": "boost", + "score": 0.019338317215442657 + } + }, + "else": { + "operation": "boost", + "score": -0.0669754296541214 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.026733769103884697 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.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" + ], + "then": { + "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.098368801176548 + }, + "else": { + "operation": "boost", + "score": 0.049316003918647766 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.06344722211360931 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0902886688709259 + }, + "else": { + "operation": "boost", + "score": 0.10328668355941772 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12101038545370102 + }, + "else": { + "operation": "boost", + "score": 0.12634849548339844 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10371559858322144 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.024911191314458847 + } + }, + "else": { + "operation": "boost", + "score": -0.13346576690673828 + } + }, + "else": { + "operation": "boost", + "score": -0.05415958911180496 + } + } + } + } + } + }, + { + "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.06362779438495636 + }, + "else": { + "operation": "boost", + "score": 0.04811340197920799 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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.1707317978143692 + }, + "else": { + "operation": "boost", + "score": 0.09156833589076996 + } + }, + "else": { + "operation": "boost", + "score": 0.06600476056337357 + } + }, + "else": { + "operation": "boost", + "score": 0.0411144495010376 + } + }, + "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.010503512807190418 + }, + "else": { + "operation": "boost", + "score": -0.012676355428993702 + } + } + } + }, + "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": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04607921838760376 + } + }, + "else": { + "operation": "boost", + "score": 0.030102452263236046 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02891087532043457 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04119981825351715 + }, + "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": "FilterLength", + "threshold": 0.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.0757593959569931 + }, + "else": { + "operation": "boost", + "score": -0.19936977326869965 + } + }, + "else": { + "operation": "boost", + "score": 0.010944685898721218 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.10945317894220352 + }, + "else": { + "operation": "boost", + "score": 0.02356225624680519 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07015251368284225 + }, + "else": { + "operation": "boost", + "score": 0.019330119714140892 + } + }, + "else": { + "operation": "boost", + "score": -0.015533065423369408 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11781341582536697 + }, + "else": { + "operation": "boost", + "score": 0.1388014554977417 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.15642203390598297 + }, + "else": { + "operation": "boost", + "score": 0.12639892101287842 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1177.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 455.5, + "then": { + "operation": "boost", + "score": 0.11020702123641968 + }, + "else": { + "operation": "boost", + "score": 0.14283087849617004 + } + }, + "else": { + "operation": "boost", + "score": 0.13875149190425873 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10336343944072723 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0873931497335434 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1400744616985321 + }, + "else": { + "operation": "boost", + "score": 0.14081744849681854 + } + }, + "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": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.12911857664585114 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.055555567145347595 + }, + "else": { + "operation": "boost", + "score": 0.14743922650814056 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07983530312776566 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 178.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1600.0, + "then": { + "operation": "boost", + "score": 0.04243956506252289 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 929.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1021.0, + "then": { + "operation": "boost", + "score": 0.09850812703371048 + }, + "else": { + "operation": "boost", + "score": 0.11983445286750793 + } + }, + "else": { + "operation": "boost", + "score": 0.09713223576545715 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.14280767738819122 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.16358202695846558 + }, + "else": { + "operation": "boost", + "score": 0.14836610853672028 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13695797324180603 + } + } + }, + "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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018869996070861816 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 184.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.5, + "then": { + "operation": "boost", + "score": 0.07862081378698349 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.13184699416160583 + }, + "else": { + "operation": "boost", + "score": -0.11821070313453674 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05969928205013275 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12055379152297974 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": -0.12128814309835434 + }, + "else": { + "operation": "boost", + "score": 0.13900548219680786 + } + }, + "else": { + "operation": "boost", + "score": 0.07433141022920609 + } + } + } + } + }, + "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": 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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.1169043630361557 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004614620003849268 + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1378682553768158 + }, + "else": { + "operation": "boost", + "score": 0.02552039735019207 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011683010496199131 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013965439982712269 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09163877367973328 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 210.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 213.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 + } + }, + "else": { + "operation": "boost", + "score": 0.10246971994638443 + } + }, + "else": { + "operation": "boost", + "score": 0.08629866689443588 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07463177293539047 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008725789375603199 + } + } + } + } + }, + "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 + } + } + } + } + } + } + }, + { + "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.061217717826366425 + }, + "else": { + "operation": "boost", + "score": 0.04648314788937569 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2429238259792328 + }, + "else": { + "operation": "boost", + "score": 0.01284097321331501 + } + }, + "else": { + "operation": "boost", + "score": -0.010784543119370937 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02841830998659134 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.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_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10642563551664352 + }, + "else": { + "operation": "boost", + "score": 0.11260972172021866 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85788.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08913108706474304 + }, + "else": { + "operation": "boost", + "score": 0.08721872419118881 + } + }, + "else": { + "operation": "boost", + "score": -0.0014874105108901858 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02610463835299015 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6228.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.06720463186502457 + }, + "else": { + "operation": "boost", + "score": 0.11574726551771164 + } + }, + "else": { + "operation": "boost", + "score": 0.03600304201245308 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11400800198316574 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.0, + "then": { + "operation": "boost", + "score": 0.12329991906881332 + }, + "else": { + "operation": "boost", + "score": -0.22385668754577637 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0195725429803133 + } + }, + "else": { + "operation": "boost", + "score": 0.07576599717140198 + } + }, + "else": { + "operation": "boost", + "score": 0.08066388964653015 + } + }, + "else": { + "operation": "boost", + "score": 0.09637783467769623 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04992470517754555 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.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 + } + }, + "else": { + "operation": "boost", + "score": 0.03919028490781784 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10738587379455566 + } + }, + "else": { + "operation": "boost", + "score": 0.06495802849531174 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0009584809886291623 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025591403245925903 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04309781268239021 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08227259665727615 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.10187450051307678 + }, + "else": { + "operation": "boost", + "score": 0.10767640173435211 + } + }, + "else": { + "operation": "boost", + "score": 0.09784042090177536 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09555766731500626 + }, + "else": { + "operation": "boost", + "score": 0.09873195737600327 + } + } + } + } + } + } + }, + "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.060363732278347015 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12696704268455505 + }, + "else": { + "operation": "boost", + "score": 0.1515597701072693 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10791027545928955 + } + }, + "else": { + "operation": "boost", + "score": 0.08918771892786026 + } + }, + "else": { + "operation": "boost", + "score": 0.009569437243044376 + } + } + }, + "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": "boost", + "score": -0.052125077694654465 + }, + "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_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.020260633900761604 + }, + "else": { + "operation": "boost", + "score": 0.05432380363345146 + } + }, + "else": { + "operation": "boost", + "score": -0.17105251550674438 + } + }, + "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.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.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, + "then": { + "operation": "boost", + "score": 0.0468563474714756 + }, + "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.12061057984828949 + }, + "else": { + "operation": "boost", + "score": 0.021543268114328384 + } + }, + "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.03339255601167679 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.060947902500629425 + } + }, + "else": { + "operation": "boost", + "score": 0.05712725222110748 + } + } + }, + "else": { + "operation": "boost", + "score": 0.050949521362781525 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06357168406248093 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025114009156823158 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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" + ], + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.006311497651040554 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07722102850675583 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026493800804018974 + } + }, + "else": { + "operation": "boost", + "score": 0.002797161927446723 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009219065308570862 + } + }, + "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": 56.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07633151859045029 + }, + "else": { + "operation": "boost", + "score": 0.04414387047290802 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03641757369041443 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.02445552684366703 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020532334223389626 + }, + "else": { + "operation": "boost", + "score": -0.011213872581720352 + } + } + }, + "else": { + "operation": "boost", + "score": -0.024820130318403244 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04065782576799393 + } + } + } + } + }, + { + "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.05943569168448448 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05141087621450424 + }, + "else": { + "operation": "boost", + "score": 0.03586187586188316 + } + } + }, + "else": { + "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": "boost", + "score": 0.158299058675766 + }, + "else": { + "operation": "boost", + "score": 0.08274511992931366 + } + }, + "else": { + "operation": "boost", + "score": 0.06985420733690262 + } + }, + "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.43896356225013733 + }, + "else": { + "operation": "boost", + "score": 0.030470089986920357 + } + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10655298829078674 + } + }, + "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 + } + }, + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04262993112206459 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.014197959564626217 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2497.0, + "then": { + "operation": "boost", + "score": 0.0012521881144493818 + }, + "else": { + "operation": "if_greater", + "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" + ], + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12258517742156982 + }, + "else": { + "operation": "boost", + "score": 0.0712115615606308 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04033840075135231 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": 0.0854882076382637 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1451532393693924 + }, + "else": { + "operation": "boost", + "score": -0.10256671905517578 + } + }, + "else": { + "operation": "boost", + "score": 0.027921823784708977 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.13588698208332062 + }, + "else": { + "operation": "boost", + "score": 0.12105607986450195 + } + }, + "else": { + "operation": "boost", + "score": 0.10539227724075317 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13674665987491608 + } + }, + "else": { + "operation": "boost", + "score": 0.07145717740058899 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024862825870513916 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.006543043535202742 + }, + "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, + "then": { + "operation": "boost", + "score": 0.0563945472240448 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 305.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 962.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.13496701419353485 + }, + "else": { + "operation": "boost", + "score": 0.1419965773820877 + } + }, + "else": { + "operation": "boost", + "score": 0.12355966120958328 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015799568966031075 + } + }, + "else": { + "operation": "boost", + "score": 0.12689901888370514 + } + }, + "else": { + "operation": "boost", + "score": 0.07550352066755295 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0014651771634817123 + } + }, + "else": { + "operation": "boost", + "score": -0.007761243265122175 + } + } + } + } + } + }, + "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.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" + ], + "then": { + "operation": "boost", + "score": 0.06308241933584213 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06248294562101364 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.15187758207321167 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1262303739786148 + }, + "else": { + "operation": "boost", + "score": 0.08769601583480835 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05592644587159157 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1874251812696457 + }, + "else": { + "operation": "boost", + "score": -0.06476080417633057 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004956655320711434 + } + } + } + }, + "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.000986813916824758 + }, + "else": { + "operation": "boost", + "score": -0.05437963828444481 + } + } + } + }, + "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_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10217835754156113 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02843613177537918 + }, + "else": { + "operation": "boost", + "score": 0.10147467255592346 + } + }, + "else": { + "operation": "boost", + "score": 0.059466972947120667 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "then": { + "operation": "boost", + "score": 0.03302816301584244 + }, + "else": { + "operation": "boost", + "score": 0.08494841307401657 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.06084197014570236 + }, + "else": { + "operation": "boost", + "score": -0.06453754752874374 + } + }, + "else": { + "operation": "boost", + "score": -0.031125567853450775 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1327873170375824 + }, + "else": { + "operation": "boost", + "score": 0.024249592795968056 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019103357568383217 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.010813148692250252 + }, + "else": { + "operation": "boost", + "score": 0.06115853413939476 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10200125724077225 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16047754883766174 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.03175518661737442 + }, + "else": { + "operation": "boost", + "score": 0.11546104401350021 + } + }, + "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 + } + } + } + } + } + } + }, + { + "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.05820007249712944 + }, + "else": { + "operation": "boost", + "score": 0.041926611214876175 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03133220225572586 + }, + "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.00841167476028204 + }, + "else": { + "operation": "boost", + "score": -0.012455873191356659 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03135775029659271 + }, + "else": { + "operation": "boost", + "score": 0.029839180409908295 + } + }, + "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" + ], + "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.11177011579275131 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22892087697982788 + }, + "else": { + "operation": "boost", + "score": 0.12230981886386871 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "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.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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05013449862599373 + } + }, + "else": { + "operation": "boost", + "score": 0.005192905198782682 + } + } + }, + "else": { + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.003159743268042803 + }, + "else": { + "operation": "boost", + "score": 0.04725039377808571 + } + }, + "else": { + "operation": "boost", + "score": -0.007129826582968235 + } + }, + "else": { + "operation": "boost", + "score": 0.024505211040377617 + } + }, + "else": { + "operation": "boost", + "score": -0.12009923160076141 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1136602982878685 + }, + "else": { + "operation": "boost", + "score": 0.09745630621910095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.13160471618175507 + }, + "else": { + "operation": "boost", + "score": -0.10733528435230255 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11789245903491974 + }, + "else": { + "operation": "boost", + "score": 0.022565804421901703 + } + }, + "else": { + "operation": "boost", + "score": 0.08301983028650284 + } + }, + "else": { + "operation": "boost", + "score": 0.13637949526309967 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": 0.08133643120527267 + }, + "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_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 + } + }, + "else": { + "operation": "boost", + "score": -0.19359998404979706 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04064171016216278 + } + }, + "else": { + "operation": "boost", + "score": 0.0586545392870903 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06419778615236282 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.04340057447552681 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04596114531159401 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": 0.08900706470012665 + }, + "else": { + "operation": "boost", + "score": 0.047501277178525925 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004843706730753183 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14786773920059204 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10267993807792664 + }, + "else": { + "operation": "boost", + "score": 0.06978556513786316 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.046142395585775375 + }, + "else": { + "operation": "boost", + "score": 0.09552378207445145 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.09326457232236862 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.06800185143947601 + }, + "else": { + "operation": "boost", + "score": -0.12498601526021957 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2989.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2990.5, + "then": { + "operation": "boost", + "score": 0.04651367664337158 + }, + "else": { + "operation": "boost", + "score": 0.13523413240909576 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50186.0, + "then": { + "operation": "boost", + "score": 0.08968766778707504 + }, + "else": { + "operation": "boost", + "score": 0.11263090372085571 + } + }, + "else": { + "operation": "boost", + "score": -0.15798290073871613 + } + }, + "else": { + "operation": "boost", + "score": -0.001679331879131496 + } + }, + "else": { + "operation": "boost", + "score": -0.07063250988721848 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.016511015594005585 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1351.0, + "then": { + "operation": "boost", + "score": 0.08938390016555786 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1302.0, + "then": { + "operation": "boost", + "score": 0.12009802460670471 + }, + "else": { + "operation": "boost", + "score": 0.11034251004457474 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0709664598107338 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14112.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": 0.1037699282169342 + }, + "else": { + "operation": "boost", + "score": -0.011711310595273972 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14068.0, + "then": { + "operation": "boost", + "score": 0.10925848037004471 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7347.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7389.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11149.0, + "then": { + "operation": "boost", + "score": 0.06624683737754822 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0004556897620204836 + }, + "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 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.037446245551109314 + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016774095594882965 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06328022480010986 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": 0.08835939317941666 + }, + "else": { + "operation": "boost", + "score": 0.11874199658632278 + } + }, + "else": { + "operation": "boost", + "score": 0.12686659395694733 + } + }, + "else": { + "operation": "boost", + "score": 0.09622924774885178 + } + }, + "else": { + "operation": "boost", + "score": 0.06591024994850159 + } + }, + "else": { + "operation": "boost", + "score": 0.07374078035354614 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.06500128656625748 + }, + "else": { + "operation": "boost", + "score": 0.042165979743003845 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.05283200740814209 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08963873237371445 + }, + "else": { + "operation": "boost", + "score": 0.07197794318199158 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08247695863246918 + }, + "else": { + "operation": "boost", + "score": 0.0037897818256169558 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02586890384554863 + } + }, + "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 + } + } + } + } + } + } + }, + { + "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.056802768260240555 + }, + "else": { + "operation": "boost", + "score": 0.040906768292188644 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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" + ], + "then": { + "operation": "boost", + "score": 0.009914273396134377 + }, + "else": { + "operation": "boost", + "score": -0.013005273416638374 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.025511344894766808 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.03197707235813141 + }, + "else": { + "operation": "boost", + "score": -0.46727240085601807 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03733072429895401 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.02466546930372715 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.042816244065761566 + }, + "else": { + "operation": "boost", + "score": 0.024931661784648895 + } + } + } + } + } + } + }, + "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_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008400307968258858 + }, + "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_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.10485788434743881 + }, + "else": { + "operation": "boost", + "score": -0.10879997909069061 + } + }, + "else": { + "operation": "boost", + "score": -0.05488727241754532 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03499659523367882 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08005941659212112 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09800310432910919 + }, + "else": { + "operation": "boost", + "score": 0.10471032559871674 + } + }, + "else": { + "operation": "boost", + "score": 0.09189285337924957 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05078982561826706 + } + } + } + } + }, + "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.051725372672080994 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12227227538824081 + }, + "else": { + "operation": "boost", + "score": 0.14308622479438782 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0973624438047409 + } + }, + "else": { + "operation": "boost", + "score": 0.08175866305828094 + } + }, + "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": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.051530126482248306 + }, + "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_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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15941154956817627 + } + }, + "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.1116957813501358 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1053893119096756 + }, + "else": { + "operation": "boost", + "score": 0.08560678362846375 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06112327426671982 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.03725816309452057 + }, + "else": { + "operation": "boost", + "score": -0.0450519435107708 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13426397740840912 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01964564621448517 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03669128939509392 + }, + "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.12326283007860184 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 49999.5, + "then": { + "operation": "boost", + "score": 0.09466449916362762 + }, + "else": { + "operation": "boost", + "score": 0.0550185926258564 + } + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": -0.04689139872789383 + }, + "else": { + "operation": "boost", + "score": 0.014792470261454582 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "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": 32.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": 131.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08309592306613922 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09546788781881332 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 359.5, + "then": { + "operation": "boost", + "score": 0.10861942172050476 + }, + "else": { + "operation": "boost", + "score": 0.12287868559360504 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1265595555305481 + } + }, + "else": { + "operation": "boost", + "score": 0.0890808254480362 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13386787474155426 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07952835410833359 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.1145472452044487 + }, + "else": { + "operation": "boost", + "score": 0.06575410068035126 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0024601821787655354 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022367795929312706 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.06116608530282974 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, + "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 + } + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0028398369904607534 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03177143260836601 + }, + "else": { + "operation": "boost", + "score": -0.0012432277435436845 + } + }, + "else": { + "operation": "boost", + "score": 0.04814558103680611 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008542642462998629 + } + } + } + } + }, + "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, + "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_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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15204669535160065 + } + }, + "else": { + "operation": "boost", + "score": -0.05655302479863167 + } + }, + "else": { + "operation": "boost", + "score": -0.0073936861008405685 + } + }, + "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.09649338573217392 + }, + "else": { + "operation": "boost", + "score": -0.01612563244998455 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12262500077486038 + }, + "else": { + "operation": "boost", + "score": 0.12959079444408417 + } + }, + "else": { + "operation": "boost", + "score": 0.11290906369686127 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": -0.011373571120202541 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.026866963133215904 + }, + "else": { + "operation": "boost", + "score": 0.09624425321817398 + } + }, + "else": { + "operation": "boost", + "score": -0.145759716629982 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03931408002972603 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "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": 1.5, + "then": { + "operation": "boost", + "score": 0.06310403347015381 + }, + "else": { + "operation": "boost", + "score": 0.046875204890966415 + } + }, + "else": { + "operation": "boost", + "score": 0.02913634479045868 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.028157323598861694 + }, + "else": { + "operation": "boost", + "score": 0.0027404145803302526 + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.021396789699792862 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.07054044306278229 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "boost", + "score": 0.1179097518324852 + }, + "else": { + "operation": "boost", + "score": 0.11624813079833984 + } + } + }, + "else": { + "operation": "boost", + "score": -0.025587545707821846 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05565773695707321 + } + } + }, + "else": { + "operation": "boost", + "score": 0.025110706686973572 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2412.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "boost", + "score": 0.03910507261753082 + }, + "else": { + "operation": "boost", + "score": -0.019721517339348793 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2387.5, + "then": { + "operation": "boost", + "score": 0.11799401044845581 + }, + "else": { + "operation": "boost", + "score": 0.0445474348962307 + } + } + }, + "else": { + "operation": "boost", + "score": -5.9869635151699185e-05 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 268.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, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.0, + "then": { + "operation": "boost", + "score": 0.12652570009231567 + }, + "else": { + "operation": "boost", + "score": 0.09484085440635681 + } + }, + "else": { + "operation": "boost", + "score": 0.13383637368679047 + } + }, + "else": { + "operation": "boost", + "score": 0.0725943073630333 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.0, + "then": { + "operation": "boost", + "score": 0.12093229591846466 + }, + "else": { + "operation": "boost", + "score": 0.08954367786645889 + } + }, + "else": { + "operation": "boost", + "score": 0.0772281140089035 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.0, + "then": { + "operation": "boost", + "score": 0.1112523302435875 + }, + "else": { + "operation": "boost", + "score": -0.043197911232709885 + } + }, + "else": { + "operation": "boost", + "score": 0.0659995749592781 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 106.5, + "then": { + "operation": "boost", + "score": 0.026111165061593056 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.12793584167957306 + }, + "else": { + "operation": "boost", + "score": 0.15526451170444489 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04387554153800011 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10284868627786636 + }, + "else": { + "operation": "boost", + "score": 0.0927773043513298 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008176380768418312 + } + }, + "else": { + "operation": "boost", + "score": 0.03426132723689079 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 318.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11122792214155197 + }, + "else": { + "operation": "boost", + "score": 0.07443251460790634 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.06110285595059395 + }, + "else": { + "operation": "boost", + "score": 0.038014017045497894 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00658655259758234 + } + }, + "else": { + "operation": "boost", + "score": 0.0006353270728141069 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.03143325448036194 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03432008996605873 + }, + "else": { + "operation": "boost", + "score": -0.13824151456356049 + } + }, + "else": { + "operation": "boost", + "score": 0.0055221510119736195 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020482981577515602 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06069504842162132 + }, + "else": { + "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.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04364423826336861 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "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.07483629137277603 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10491079837083817 + }, + "else": { + "operation": "boost", + "score": 0.11028074473142624 + } + }, + "else": { + "operation": "boost", + "score": -0.5643343925476074 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01616530679166317 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016283834353089333 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.019829444587230682 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "boost", + "score": 0.020526323467493057 + }, + "else": { + "operation": "boost", + "score": -0.024226097390055656 + } + }, + "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": 1.0, + "then": { + "operation": "boost", + "score": 0.08315380662679672 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13550600409507751 + }, + "else": { + "operation": "boost", + "score": 0.12674352526664734 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025341758504509926 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07849991321563721 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.15112356841564178 + }, + "else": { + "operation": "boost", + "score": 0.1446804702281952 + } + }, + "else": { + "operation": "boost", + "score": 0.1062038391828537 + } + }, + "else": { + "operation": "boost", + "score": 0.10799772292375565 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08301916718482971 + }, + "else": { + "operation": "boost", + "score": 0.04442707076668739 + } + } + }, + "else": { + "operation": "boost", + "score": 0.049805499613285065 + } + }, + "else": { + "operation": "boost", + "score": 0.0337236151099205 + } + }, + "else": { + "operation": "boost", + "score": -0.0024223264772444963 + } + } + } + } + } + }, + { + "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.11512523144483566 + }, + "else": { + "operation": "boost", + "score": 0.14838910102844238 + } + }, + "else": { + "operation": "boost", + "score": 0.08842017501592636 + } + }, + "else": { + "operation": "boost", + "score": 0.0486149899661541 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026296306401491165 + }, + "else": { + "operation": "boost", + "score": 0.005965417716652155 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0591956190764904 + }, + "else": { + "operation": "boost", + "score": -0.02927262894809246 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190379.0, + "then": { + "operation": "boost", + "score": 0.09215611219406128 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.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, + "then": { + "operation": "boost", + "score": 0.1045447587966919 + }, + "else": { + "operation": "boost", + "score": 0.08910346776247025 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.030922934412956238 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0926009938120842 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11273422837257385 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11475702375173569 + }, + "else": { + "operation": "boost", + "score": 0.13732244074344635 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1435489058494568 + }, + "else": { + "operation": "boost", + "score": -0.18249629437923431 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05732386186718941 + } + }, + "else": { + "operation": "boost", + "score": 0.0853521004319191 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "boost", + "score": 0.055317383259534836 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { + "operation": "boost", + "score": -0.08059763163328171 + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07464753836393356 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10212644934654236 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05562862008810043 + } + }, + "else": { + "operation": "boost", + "score": 0.015212050639092922 + } + }, + "else": { + "operation": "boost", + "score": 0.03391348570585251 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 235.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1279.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0976153016090393 + } + }, + "else": { + "operation": "boost", + "score": -0.10579203069210052 + } + }, + "else": { + "operation": "boost", + "score": 0.07556809484958649 + } + }, + "else": { + "operation": "boost", + "score": 0.12339743226766586 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.059891119599342346 + }, + "else": { + "operation": "boost", + "score": 0.0524292066693306 + } + }, + "else": { + "operation": "boost", + "score": 0.03366796672344208 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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 + } + }, + "else": { + "operation": "boost", + "score": -0.019044457003474236 + } + }, + "else": { + "operation": "boost", + "score": -0.048475828021764755 + } + } + }, + "else": { + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009651991538703442 + }, + "else": { + "operation": "boost", + "score": -0.046045221388339996 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.017145853489637375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01026823464781046 + }, + "else": { + "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_EnumTag", + "CCC_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "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 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013075386174023151 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.013666853308677673 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0290078055113554 + }, + "else": { + "operation": "boost", + "score": -0.12087789177894592 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10649414360523224 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09629352390766144 + }, + "else": { + "operation": "boost", + "score": 0.05540842190384865 + } + }, + "else": { + "operation": "boost", + "score": 0.04358484223484993 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019669732078909874 + } + }, + "else": { + "operation": "boost", + "score": -0.08172363042831421 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11959651112556458 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.023063169792294502 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12710189819335938 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09650328010320663 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "boost", + "score": 0.020108535885810852 + }, + "else": { + "operation": "boost", + "score": 0.08301784098148346 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.05561159923672676 + }, + "else": { + "operation": "boost", + "score": -0.049483902752399445 + } + }, + "else": { + "operation": "boost", + "score": -0.031614966690540314 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020652884617447853 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01815136894583702 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.01835138350725174 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.06287474930286407 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09324907511472702 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.059549327939748764 + } + }, + "else": { + "operation": "boost", + "score": 0.04138729348778725 + } + }, + "else": { + "operation": "boost", + "score": 0.0262193251401186 + } + }, + "else": { + "operation": "boost", + "score": 0.0019441181793808937 + } + } + }, + "else": { + "operation": "boost", + "score": -0.061504919081926346 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.039568860083818436 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.032465025782585144 + }, + "else": { + "operation": "boost", + "score": 0.007506563328206539 + } + }, + "else": { + "operation": "boost", + "score": -0.007809768430888653 + } + } + }, + "else": { + "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": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.048209864646196365 + }, + "else": { + "operation": "boost", + "score": 0.10413454473018646 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.028087319806218147 + }, + "else": { + "operation": "boost", + "score": -0.008083952590823174 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13550066947937012 + }, + "else": { + "operation": "boost", + "score": 0.1403903365135193 + } + }, + "else": { + "operation": "boost", + "score": 0.034449636936187744 + } + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06680251657962799 + }, + "else": { + "operation": "boost", + "score": 0.015827499330043793 + } + }, + "else": { + "operation": "boost", + "score": -0.014032581821084023 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1178.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.10693804919719696 + }, + "else": { + "operation": "boost", + "score": 0.11167654395103455 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1332.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.20277436077594757 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12488652765750885 + }, + "else": { + "operation": "boost", + "score": -0.1154029369354248 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11359965801239014 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1367.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11146322637796402 + }, + "else": { + "operation": "boost", + "score": 0.0880432203412056 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05809614434838295 + }, + "else": { + "operation": "boost", + "score": 0.13371996581554413 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 290.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 291.5, + "then": { + "operation": "boost", + "score": 0.11496623605489731 + }, + "else": { + "operation": "boost", + "score": 0.12760144472122192 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.17337602376937866 + }, + "else": { + "operation": "boost", + "score": 0.02410080097615719 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.0, + "then": { + "operation": "boost", + "score": -0.022831223905086517 + }, + "else": { + "operation": "boost", + "score": 0.13842056691646576 + } + }, + "else": { + "operation": "boost", + "score": 0.1472833752632141 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1671280562877655 + }, + "else": { + "operation": "boost", + "score": 0.14429830014705658 + } + }, + "else": { + "operation": "boost", + "score": 0.13276077806949615 + } + }, + "else": { + "operation": "boost", + "score": 0.10436408966779709 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09420394152402878 + } + }, + "else": { + "operation": "boost", + "score": 0.10262319445610046 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0009263718966394663 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09380392730236053 + }, + "else": { + "operation": "boost", + "score": 0.06714484095573425 + } + } + } + }, + "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 + } + } + }, + "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_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09140439331531525 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10582835972309113 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.06717921793460846 + }, + "else": { + "operation": "boost", + "score": 0.03956575691699982 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020855668932199478 + } + }, + "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, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07607337832450867 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07909388095140457 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357.5, + "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", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "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 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11835376918315887 + }, + "else": { + "operation": "boost", + "score": -0.010794167406857014 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "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, + "then": { + "operation": "boost", + "score": 0.09107373654842377 + }, + "else": { + "operation": "boost", + "score": 0.04555503651499748 + } + } + } + } + } + } + }, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08838362246751785 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030029742047190666 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01578977145254612 + } + } + }, + "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.003858619835227728 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17270050942897797 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09543730318546295 + }, + "else": { + "operation": "boost", + "score": 0.012688747607171535 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02790704183280468 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0374084897339344 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.030726460739970207 + }, + "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": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0772567018866539 + }, + "else": { + "operation": "boost", + "score": 0.006679001729935408 + } + }, + "else": { + "operation": "boost", + "score": -0.01244452316313982 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05893106013536453 + }, + "else": { + "operation": "boost", + "score": -0.03804250806570053 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190379.0, + "then": { + "operation": "boost", + "score": 0.08843264728784561 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.005018284544348717 + }, + "else": { + "operation": "boost", + "score": 0.06628435850143433 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.10232732445001602 + }, + "else": { + "operation": "boost", + "score": 0.08763593435287476 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04350593313574791 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017893139272928238 + }, + "else": { + "operation": "boost", + "score": -0.16560940444469452 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03895014151930809 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.034266140311956406 + }, + "else": { + "operation": "boost", + "score": -0.007893014699220657 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01353513915091753 + } + } + }, + "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.002505391603335738 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022487767040729523 + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07781007885932922 + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.014222800731658936 + }, + "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.10834158957004547 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10350041091442108 + }, + "else": { + "operation": "boost", + "score": 0.07941444218158722 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05568278208374977 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11147330701351166 + }, + "else": { + "operation": "boost", + "score": 0.07516089826822281 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07466080784797668 + }, + "else": { + "operation": "boost", + "score": 0.023947056382894516 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120342.5, + "then": { + "operation": "boost", + "score": 0.05085361748933792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92526.5, + "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 + }, + "else": { + "operation": "boost", + "score": -0.012840570881962776 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05171721801161766 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.05629514530301094 + }, + "else": { + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05314808338880539 + }, + "else": { + "operation": "boost", + "score": 0.08967394381761551 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002382839098572731 + }, + "else": { + "operation": "boost", + "score": 0.05641666799783707 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07656893134117126 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.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, + "then": { + "operation": "boost", + "score": -0.13540229201316833 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "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, + "then": { + "operation": "boost", + "score": 0.019314127042889595 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.08459862321615219 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08553220331668854 + }, + "else": { + "operation": "boost", + "score": 0.09898757189512253 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12479861825704575 + }, + "else": { + "operation": "boost", + "score": -0.21480505168437958 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.01962319202721119 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 289.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 688.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1765.0, + "then": { + "operation": "boost", + "score": 0.17724010348320007 + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12984025478363037 + } + }, + "else": { + "operation": "boost", + "score": 0.07021434605121613 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00931981485337019 + } + }, + "else": { + "operation": "boost", + "score": 0.004380019381642342 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0063593629747629166 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007474654354155064 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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": 1.0, + "then": { + "operation": "boost", + "score": 0.0489971749484539 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 341.5, + "then": { + "operation": "boost", + "score": 0.10544570535421371 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09446677565574646 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12801717221736908 + }, + "else": { + "operation": "boost", + "score": 0.1026436910033226 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08457311987876892 + } + }, + "else": { + "operation": "boost", + "score": 0.061424173414707184 + } + }, + "else": { + "operation": "boost", + "score": 0.07404771447181702 + } + }, + "else": { + "operation": "boost", + "score": 0.048596885055303574 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 662.0, + "then": { + "operation": "boost", + "score": 0.021560294553637505 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 603.5, + "then": { + "operation": "boost", + "score": 0.1224055141210556 + }, + "else": { + "operation": "boost", + "score": 0.09320040047168732 + } + } + }, + "else": { + "operation": "boost", + "score": -0.039381034672260284 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07806141674518585 + }, + "else": { + "operation": "boost", + "score": 0.041181620210409164 + } + }, + "else": { + "operation": "boost", + "score": 0.022497929632663727 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0022050754632800817 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008791723288595676 + } + } + }, + "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, + "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_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.11892654746770859 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0405702143907547 + }, + "else": { + "operation": "boost", + "score": 0.08362087607383728 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1414397805929184 + } + }, + "else": { + "operation": "boost", + "score": -0.04599786177277565 + } + }, + "else": { + "operation": "boost", + "score": -0.006377201061695814 + } + }, + "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": "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": "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.036141980439424515 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005410381709225476 + } + } + } + }, + "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.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.026281829923391342 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.021464060992002487 + }, + "else": { + "operation": "boost", + "score": 0.03135320171713829 + } + }, + "else": { + "operation": "boost", + "score": -0.0038366380613297224 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "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": 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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.050132159143686295 + } + }, + "else": { + "operation": "boost", + "score": 0.012760592624545097 + } + }, + "else": { + "operation": "boost", + "score": 0.03112729825079441 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08499594777822495 + }, + "else": { + "operation": "boost", + "score": 0.05553863197565079 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.05042293667793274 + }, + "else": { + "operation": "boost", + "score": 0.03218044340610504 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0020673382095992565 + } + }, + "else": { + "operation": "boost", + "score": 0.006813559681177139 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.064122773706913 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02502250485122204 + }, + "else": { + "operation": "boost", + "score": -0.041396912187337875 + } + } + }, + "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": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08907614648342133 + }, + "else": { + "operation": "boost", + "score": 0.08382557332515717 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007454332429915667 + }, + "else": { + "operation": "boost", + "score": -0.035907357931137085 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.055066436529159546 + }, + "else": { + "operation": "boost", + "score": 0.021758297458291054 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.07691715657711029 + }, + "else": { + "operation": "boost", + "score": -0.029512332752346992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.12401828914880753 + }, + "else": { + "operation": "boost", + "score": 0.10713905841112137 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 21.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0046098073944449425 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05564235523343086 + }, + "else": { + "operation": "boost", + "score": 0.045465871691703796 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.106462262570858 + }, + "else": { + "operation": "boost", + "score": 0.026508137583732605 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011263429187238216 + } + }, + "else": { + "operation": "boost", + "score": -0.017282521352171898 + } + }, + "else": { + "operation": "boost", + "score": 0.003246743930503726 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0023369607515633106 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "boost", + "score": 0.03801090270280838 + }, + "else": { + "operation": "boost", + "score": -0.14313113689422607 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "boost", + "score": 0.036183588206768036 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.119798444211483 + }, + "else": { + "operation": "boost", + "score": 0.07412277907133102 + } + }, + "else": { + "operation": "boost", + "score": 0.13675855100154877 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, + "then": { + "operation": "boost", + "score": -0.08422660082578659 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.03690442070364952 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04040687158703804 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0993623211979866 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1022196114063263 + }, + "else": { + "operation": "boost", + "score": 0.1072273999452591 + } + }, + "else": { + "operation": "boost", + "score": 0.24625279009342194 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10814768075942993 + }, + "else": { + "operation": "boost", + "score": -0.10105853527784348 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02608974650502205 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11265460401773453 + }, + "else": { + "operation": "boost", + "score": 0.12541316449642181 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2123962938785553 + } + }, + "else": { + "operation": "boost", + "score": 0.08723901957273483 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006483018863946199 + } + }, + "else": { + "operation": "boost", + "score": -0.032522931694984436 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11748027056455612 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "boost", + "score": 0.11012327671051025 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10485132038593292 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06663679331541061 + } + }, + "else": { + "operation": "boost", + "score": 0.05107862502336502 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03251703828573227 + } + }, + "else": { + "operation": "boost", + "score": -0.009552947245538235 + } + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03451082110404968 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2570464313030243 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02861119620501995 + }, + "else": { + "operation": "boost", + "score": 0.004358353558927774 + } + } + } + }, + "else": { + "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": 4.5, + "then": { + "operation": "boost", + "score": 0.037007205188274384 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.013590590097010136 + }, + "else": { + "operation": "boost", + "score": -0.1638326793909073 + } + }, + "else": { + "operation": "boost", + "score": 0.03361478075385094 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32455.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.04632756486535072 + }, + "else": { + "operation": "boost", + "score": 0.1036955788731575 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.28267771005630493 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06695649027824402 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06742335110902786 + } + }, + "else": { + "operation": "boost", + "score": 0.027944302186369896 + } + } + }, + "else": { + "operation": "boost", + "score": -0.060369327664375305 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.018335113301873207 + }, + "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, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.15091054141521454 + }, + "else": { + "operation": "boost", + "score": 0.07192596048116684 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05345061793923378 + } + }, + "else": { + "operation": "boost", + "score": 0.030189409852027893 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06767784804105759 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.1009577140212059 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10460507869720459 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.1430060714483261 + }, + "else": { + "operation": "boost", + "score": 0.11194638907909393 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12049449980258942 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0621577613055706 + } + }, + "else": { + "operation": "boost", + "score": 0.0345146507024765 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0011049362365156412 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.014517353847622871 + } + }, + "else": { + "operation": "boost", + "score": -0.03277714550495148 + } + } + } + } + }, + "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", + "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": "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01917320303618908 + } + }, + "else": { + "operation": "boost", + "score": -0.07350602000951767 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2956.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2990.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.008493113331496716 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "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, + "then": { + "operation": "boost", + "score": -0.11331990361213684 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159753.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13937591016292572 + }, + "else": { + "operation": "boost", + "score": 0.1139383390545845 + } + }, + "else": { + "operation": "boost", + "score": 0.03777942433953285 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1400592178106308 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.055794160813093185 + }, + "else": { + "operation": "boost", + "score": -0.013812042772769928 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.02511376515030861 + }, + "else": { + "operation": "boost", + "score": 0.04275207594037056 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10085555166006088 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.041254766285419464 + }, + "else": { + "operation": "boost", + "score": -0.04467376321554184 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13100644946098328 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09655670076608658 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11157449334859848 + }, + "else": { + "operation": "boost", + "score": 0.13321088254451752 + } + }, + "else": { + "operation": "boost", + "score": 0.13209933042526245 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.033150359988212585 + }, + "else": { + "operation": "boost", + "score": 0.09882562607526779 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.040640939027071 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07550030201673508 + }, + "else": { + "operation": "boost", + "score": 0.028093531727790833 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.023973293602466583 + }, + "else": { + "operation": "boost", + "score": -0.02014591172337532 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015285322442650795 + } + } + }, + "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" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029235195368528366 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.08905167877674103 + }, + "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": 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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11061566323041916 + }, + "else": { + "operation": "boost", + "score": 0.11532900482416153 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13097697496414185 + }, + "else": { + "operation": "boost", + "score": 0.16296648979187012 + } + }, + "else": { + "operation": "boost", + "score": 0.136588454246521 + } + }, + "else": { + "operation": "boost", + "score": 0.09301196038722992 + } + }, + "else": { + "operation": "boost", + "score": 0.08795413374900818 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.039479758590459824 + } + }, + "else": { + "operation": "boost", + "score": 0.03665902093052864 + } + }, + "else": { + "operation": "boost", + "score": 0.031077666208148003 + } + }, + "else": { + "operation": "boost", + "score": -0.006314166821539402 + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4066038131713867 + }, + "else": { + "operation": "boost", + "score": 0.034373167902231216 + } + }, + "else": { + "operation": "if_greater", + "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" + ], + "then": { + "operation": "boost", + "score": 0.006250618491321802 + }, + "else": { + "operation": "boost", + "score": -0.00924384593963623 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.035586073994636536 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.03206250071525574 + }, + "else": { + "operation": "boost", + "score": -0.011987623758614063 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01185405533760786 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04512329027056694 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": 0.08704840391874313 + }, + "else": { + "operation": "boost", + "score": -0.00255041616037488 + } + } + }, + "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, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12235100567340851 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.16632381081581116 + }, + "else": { + "operation": "boost", + "score": 0.1336873173713684 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07684779912233353 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.3621053397655487 + }, + "else": { + "operation": "boost", + "score": 0.13265405595302582 + } + }, + "else": { + "operation": "boost", + "score": 0.17427696287631989 + } + }, + "else": { + "operation": "boost", + "score": 0.12798938155174255 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12283169478178024 + }, + "else": { + "operation": "boost", + "score": -0.18782411515712738 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 238.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1215.0, + "then": { + "operation": "boost", + "score": 0.057967789471149445 + }, + "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.1190912127494812 + }, + "else": { + "operation": "boost", + "score": 0.02149365283548832 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1001.0, + "then": { + "operation": "boost", + "score": -0.1793215274810791 + }, + "else": { + "operation": "boost", + "score": 0.11433026939630508 + } + } + }, + "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, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0862213671207428 + } + }, + "else": { + "operation": "boost", + "score": 0.12433183938264847 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04406975954771042 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04827481135725975 + } + }, + "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, + "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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.18509946763515472 + } + }, + "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.04009215533733368 + }, + "else": { + "operation": "boost", + "score": 0.12075037509202957 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "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": 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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03534436225891113 + } + }, + "else": { + "operation": "boost", + "score": 0.01109478622674942 + } + }, + "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 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.025167906656861305 + }, + "else": { + "operation": "boost", + "score": -0.03792748227715492 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0852113664150238 + }, + "else": { + "operation": "boost", + "score": 0.03467593342065811 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020366625860333443 + }, + "else": { + "operation": "boost", + "score": 0.03727353364229202 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019090166315436363 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12075790762901306 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10605058073997498 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.02838839404284954 + }, + "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.015289917588233948 + }, + "else": { + "operation": "boost", + "score": -0.0834975615143776 + } + }, + "else": { + "operation": "boost", + "score": 0.008388236165046692 + } + } + } + } + } + }, + "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": "boost", + "score": 0.010748028755187988 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08455143868923187 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.031187215819954872 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Function" + ], + "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.035304561257362366 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1033136323094368 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.10652385652065277 + }, + "else": { + "operation": "boost", + "score": 0.0419941209256649 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08734042197465897 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009105602279305458 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006607913877815008 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06923843920230865 + }, + "else": { + "operation": "boost", + "score": 0.08256110548973083 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11790749430656433 + } + }, + "else": { + "operation": "boost", + "score": 0.011543008498847485 + } + }, + "else": { + "operation": "boost", + "score": -0.030231529846787453 + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.039658673107624054 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021273290738463402 + }, + "else": { + "operation": "boost", + "score": 0.003639377187937498 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03110208734869957 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.02946409024298191 + }, + "else": { + "operation": "boost", + "score": -0.010293625295162201 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011032065376639366 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.02521761879324913 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.031039420515298843 + }, + "else": { + "operation": "boost", + "score": 0.026713455095887184 + } + }, + "else": { + "operation": "boost", + "score": -0.0036060092970728874 + } + } + }, + "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.04407523199915886 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.05317254737019539 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10789717733860016 + }, + "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, + "then": { + "operation": "boost", + "score": 0.10405127704143524 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.13125111162662506 + }, + "else": { + "operation": "boost", + "score": 0.10998383909463882 + } + }, + "else": { + "operation": "boost", + "score": -0.11003535240888596 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.07053923606872559 + }, + "else": { + "operation": "boost", + "score": 0.06506199389696121 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014612505212426186 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "boost", + "score": 0.061719998717308044 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": 0.1453232318162918 + }, + "else": { + "operation": "boost", + "score": 0.10142700374126434 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030967924743890762 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "boost", + "score": 0.030134068801999092 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12093809992074966 + }, + "else": { + "operation": "boost", + "score": 0.3015246093273163 + } + }, + "else": { + "operation": "boost", + "score": 0.0763942077755928 + } + }, + "else": { + "operation": "boost", + "score": 0.07095815241336823 + } + }, + "else": { + "operation": "boost", + "score": 0.10672089457511902 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.033016037195920944 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.05616164579987526 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0992133840918541 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10074721276760101 + }, + "else": { + "operation": "boost", + "score": 0.10574118793010712 + } + }, + "else": { + "operation": "boost", + "score": 0.2032366245985031 + } + } + } + } + }, + "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.10686801373958588 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03324350714683533 + }, + "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": 21.5, + "then": { + "operation": "boost", + "score": 0.1108560785651207 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10870131105184555 + }, + "else": { + "operation": "boost", + "score": 0.13461920619010925 + } + } + }, + "else": { + "operation": "boost", + "score": -0.4736352264881134 + } + }, + "else": { + "operation": "boost", + "score": 0.07264315336942673 + } + }, + "else": { + "operation": "boost", + "score": 0.08176723122596741 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02950531244277954 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04048310965299606 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "boost", + "score": -0.04797494411468506 + }, + "else": { + "operation": "boost", + "score": 0.05143869295716286 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0056369248777627945 + } + }, + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1187925711274147 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08270922303199768 + }, + "else": { + "operation": "boost", + "score": 0.12441299110651016 + } + }, + "else": { + "operation": "boost", + "score": 0.12844917178153992 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11440005898475647 + }, + "else": { + "operation": "boost", + "score": 0.2877390384674072 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "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.024830151349306107 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14037510752677917 + }, + "else": { + "operation": "boost", + "score": 0.11165115237236023 + } + }, + "else": { + "operation": "boost", + "score": 0.09071342647075653 + } + }, + "else": { + "operation": "boost", + "score": 0.10176558047533035 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0851166695356369 + } + }, + "else": { + "operation": "boost", + "score": -0.006151707377284765 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010379280894994736 + } + }, + "else": { + "operation": "boost", + "score": -0.008427910506725311 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30877.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10413943976163864 + }, + "else": { + "operation": "boost", + "score": 0.061278581619262695 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "boost", + "score": 0.10818814486265182 + }, + "else": { + "operation": "boost", + "score": 0.17214086651802063 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "boost", + "score": 0.08561258018016815 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1710764318704605 + }, + "else": { + "operation": "boost", + "score": 0.0919840931892395 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06933124363422394 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.1346704512834549 + }, + "else": { + "operation": "boost", + "score": 0.14263850450515747 + } + }, + "else": { + "operation": "boost", + "score": 0.08586489409208298 + } + }, + "else": { + "operation": "boost", + "score": 0.06835215538740158 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05740794539451599 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026659658178687096 + } + }, + "else": { + "operation": "boost", + "score": 0.02934138849377632 + } + }, + "else": { + "operation": "boost", + "score": -0.0067079863511025906 + } + } + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03096223622560501 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01534321904182434 + }, + "else": { + "operation": "boost", + "score": -0.0006933535332791507 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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_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.042638953775167465 + }, + "else": { + "operation": "boost", + "score": -0.047590259462594986 + } + }, + "else": { + "operation": "boost", + "score": 0.007384109776467085 + } + }, + "else": { + "operation": "boost", + "score": -0.06875108182430267 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09895169734954834 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2957.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2990.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.015290990471839905 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6407.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06420788168907166 + } + }, + "else": { + "operation": "boost", + "score": 0.045759815722703934 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08389155566692352 + }, + "else": { + "operation": "boost", + "score": 0.10764475911855698 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124497.0, + "then": { + "operation": "boost", + "score": 0.07367648184299469 + }, + "else": { + "operation": "boost", + "score": 0.0008026552386581898 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004091301932930946 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010356057900935411 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08938925713300705 + }, + "else": { + "operation": "boost", + "score": 0.1301998347043991 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63355.5, + "then": { + "operation": "boost", + "score": 0.10411244630813599 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.04846503213047981 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03636603429913521 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11720891296863556 + }, + "else": { + "operation": "boost", + "score": 0.08527249842882156 + } + }, + "else": { + "operation": "boost", + "score": 0.13717225193977356 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09446659684181213 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1851.5, + "then": { + "operation": "boost", + "score": 0.15196840465068817 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1232.0, + "then": { + "operation": "boost", + "score": 0.11400377005338669 + }, + "else": { + "operation": "boost", + "score": 0.11795157194137573 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.044024620205163956 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7123.5, + "then": { + "operation": "boost", + "score": 0.10716643184423447 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1681.0, + "then": { + "operation": "boost", + "score": 0.08147495239973068 + }, + "else": { + "operation": "boost", + "score": 0.11242248117923737 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1056225448846817 + } + } + } + }, + "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_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4146.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06779582053422928 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10144547373056412 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05749170854687691 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03539146110415459 + } + } + } + } + }, + "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.025870705023407936 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10030829906463623 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.06391583383083344 + }, + "else": { + "operation": "boost", + "score": 0.08306460827589035 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 285.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 317.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1189.0, + "then": { + "operation": "boost", + "score": -0.17163638770580292 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12411142140626907 + }, + "else": { + "operation": "boost", + "score": 0.18184567987918854 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0388469398021698 + } + }, + "else": { + "operation": "boost", + "score": 0.04771849513053894 + } + }, + "else": { + "operation": "boost", + "score": 0.020604979246854782 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006000944413244724 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.049498189240694046 + }, + "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, + "then": { + "operation": "boost", + "score": 0.05244150385260582 + }, + "else": { + "operation": "boost", + "score": 0.1200031042098999 + } + }, + "else": { + "operation": "boost", + "score": 0.0639052614569664 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03867362067103386 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 560.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.5, + "then": { + "operation": "boost", + "score": 0.08518184721469879 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, + "then": { + "operation": "boost", + "score": 0.15955136716365814 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13241606950759888 + }, + "else": { + "operation": "boost", + "score": 0.06472175568342209 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06797526776790619 + }, + "else": { + "operation": "boost", + "score": 0.10731805115938187 + } + }, + "else": { + "operation": "boost", + "score": 0.07450989633798599 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07682140171527863 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.06348537653684616 + }, + "else": { + "operation": "boost", + "score": 0.042850177735090256 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.02343989536166191 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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, + "then": { + "operation": "boost", + "score": 0.07168540358543396 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09536111354827881 + }, + "else": { + "operation": "boost", + "score": 0.07699080556631088 + } + } + } + } + } + }, + "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.04657905176281929 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11576711386442184 + }, + "else": { + "operation": "boost", + "score": 0.13341645896434784 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08840152621269226 + } + }, + "else": { + "operation": "boost", + "score": 0.07720000296831131 + } + }, + "else": { + "operation": "boost", + "score": 0.006475976202636957 + } + } + }, + "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": "boost", + "score": -0.04972810298204422 + }, + "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": "boost", + "score": 0.012257425114512444 + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": -0.14200441539287567 + }, + "else": { + "operation": "boost", + "score": 0.10316124558448792 + } + }, + "else": { + "operation": "boost", + "score": 0.09538497775793076 + } + }, + "else": { + "operation": "boost", + "score": 0.051886316388845444 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.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, + "then": { + "operation": "boost", + "score": 0.028944605961441994 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120342.5, + "then": { + "operation": "boost", + "score": 0.047176312655210495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92526.5, + "then": { + "operation": "boost", + "score": 0.09497968852519989 + }, + "else": { + "operation": "boost", + "score": 0.056864719837903976 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.047859493643045425 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1270713210105896 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04228169843554497 + }, + "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.04760981351137161 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07664521038532257 + }, + "else": { + "operation": "boost", + "score": 0.08870825171470642 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08620234578847885 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03223290294408798 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.024567412212491035 + }, + "else": { + "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": "boost", + "score": -0.027218779549002647 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7199.5, + "then": { + "operation": "boost", + "score": 0.0801650807261467 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, + "then": { + "operation": "boost", + "score": -3.0974786281585693 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04097631946206093 + }, + "else": { + "operation": "boost", + "score": -0.27628904581069946 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.011152693070471287 + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.012063604779541492 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12408555299043655 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.21964618563652039 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12661263346672058 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.019765209406614304 + }, + "else": { + "operation": "boost", + "score": 0.21326613426208496 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14304697513580322 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.013838864862918854 + } + } + } + } + } + } + } + }, + "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, + "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_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.11514756083488464 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05028402432799339 + }, + "else": { + "operation": "boost", + "score": 0.08062119781970978 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13330887258052826 + } + }, + "else": { + "operation": "boost", + "score": -0.03971454128623009 + } + }, + "else": { + "operation": "boost", + "score": -0.004939874168485403 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2865.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.012443920597434044 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09884414821863174 + }, + "else": { + "operation": "boost", + "score": 0.07697661221027374 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.03923003003001213 + } + } + } + } + } + }, + { + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03607746213674545 + }, + "else": { + "operation": "boost", + "score": 0.011586055159568787 + } + }, + "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" + ], + "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_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": "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 + } + }, + "else": { + "operation": "boost", + "score": -0.04433166980743408 + } + }, + "else": { + "operation": "boost", + "score": 0.005221188999712467 + } + }, + "else": { + "operation": "boost", + "score": -0.07004743069410324 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04999678581953049 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15911245346069336 + }, + "else": { + "operation": "boost", + "score": -0.3553714454174042 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.10068008303642273 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": -0.13904720544815063 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11712277680635452 + }, + "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, + "then": { + "operation": "boost", + "score": 0.11500533670186996 + }, + "else": { + "operation": "boost", + "score": 0.11727232486009598 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13075335323810577 + } + }, + "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.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, + "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, + "then": { + "operation": "boost", + "score": 0.10727555304765701 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12984.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.07730312645435333 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12160134315490723 + }, + "else": { + "operation": "boost", + "score": 0.12145834416151047 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6180.5, + "then": { + "operation": "boost", + "score": 0.08653800189495087 + }, + "else": { + "operation": "boost", + "score": 0.036155007779598236 + } + } + } + } + }, + "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, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.053690049797296524 + }, + "else": { + "operation": "boost", + "score": 0.08074159175157547 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.026430116966366768 + } + }, + "else": { + "operation": "boost", + "score": -0.0014547641621902585 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04042328521609306 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.02388397790491581 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09744543582201004 + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06276272237300873 + } + }, + "else": { + "operation": "boost", + "score": 0.02072625607252121 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02129983715713024 + } + }, + "else": { + "operation": "boost", + "score": -0.04577477276325226 + } + }, + "else": { + "operation": "boost", + "score": 0.004573029465973377 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011688550934195518 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06480012834072113 + } + } + }, + "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": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1772.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1819.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3948.0, + "then": { + "operation": "boost", + "score": 0.041502729058265686 + }, + "else": { + "operation": "boost", + "score": 0.13320563733577728 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11831716448068619 + } + }, + "else": { + "operation": "boost", + "score": 0.06185174360871315 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.0, + "then": { + "operation": "boost", + "score": -0.11678892374038696 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10229745507240295 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.0, + "then": { + "operation": "boost", + "score": 0.11777406930923462 + }, + "else": { + "operation": "boost", + "score": 0.13713011145591736 + } + }, + "else": { + "operation": "boost", + "score": 0.11314748227596283 + } + }, + "else": { + "operation": "boost", + "score": 0.1299305111169815 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0767250582575798 + } + }, + "else": { + "operation": "boost", + "score": 0.13577525317668915 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06521150469779968 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0612841434776783 + } + }, + "else": { + "operation": "boost", + "score": 0.03498200699687004 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.036093972623348236 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007408438716083765 + }, + "else": { + "operation": "boost", + "score": 0.1196688562631607 + } + }, + "else": { + "operation": "boost", + "score": 0.15258890390396118 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.021539421752095222 + }, + "else": { + "operation": "boost", + "score": 0.11197904497385025 + } + } + }, + "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.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 + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.37559035420417786 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.024992721155285835 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.14122672379016876 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 402355.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11409688740968704 + }, + "else": { + "operation": "boost", + "score": -0.09791114926338196 + } + }, + "else": { + "operation": "boost", + "score": 0.09449727088212967 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15236.0, + "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" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.05766068026423454 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1411.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2626.5, + "then": { + "operation": "boost", + "score": 0.06298740953207016 + }, + "else": { + "operation": "boost", + "score": 0.1169821098446846 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1543.5, + "then": { + "operation": "boost", + "score": 0.05775843933224678 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1517.5, + "then": { + "operation": "boost", + "score": 0.1346464455127716 + }, + "else": { + "operation": "boost", + "score": 0.08360633254051208 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.061649713665246964 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08806467801332474 + }, + "else": { + "operation": "boost", + "score": 0.1920260488986969 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.10128669440746307 + }, + "else": { + "operation": "boost", + "score": 0.12876930832862854 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1060616746544838 + }, + "else": { + "operation": "boost", + "score": 0.05356837809085846 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08258307725191116 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.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.026691339910030365 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": -1.1947660446166992 + }, + "else": { + "operation": "boost", + "score": -0.02808448113501072 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0440250039100647 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10581009089946747 + }, + "else": { + "operation": "boost", + "score": 0.12077201157808304 + } + }, + "else": { + "operation": "boost", + "score": 0.10638543218374252 + } + }, + "else": { + "operation": "boost", + "score": 0.12321697175502777 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "boost", + "score": 0.0933455377817154 + }, + "else": { + "operation": "boost", + "score": 0.03781765699386597 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07407217472791672 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "boost", + "score": 0.09452936053276062 + }, + "else": { + "operation": "boost", + "score": 0.1060110330581665 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, + "then": { + "operation": "boost", + "score": -0.06037582457065582 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.030737973749637604 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04847116768360138 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09870749711990356 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10060026496648788 + }, + "else": { + "operation": "boost", + "score": 0.10517087578773499 + } + }, + "else": { + "operation": "boost", + "score": 0.1799556016921997 + } + } + } + } + }, + "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, + "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.10759682208299637 + }, + "else": { + "operation": "boost", + "score": 0.10440836101770401 + } + }, + "else": { + "operation": "boost", + "score": 0.13166965544223785 + } + }, + "else": { + "operation": "boost", + "score": -0.35732707381248474 + } + }, + "else": { + "operation": "boost", + "score": 0.06253937631845474 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0402105413377285 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.10749869793653488 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82306.0, + "then": { + "operation": "boost", + "score": 0.04912075400352478 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09694170206785202 + }, + "else": { + "operation": "boost", + "score": 0.11507488042116165 + } + }, + "else": { + "operation": "boost", + "score": 0.09517334401607513 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06850410252809525 + }, + "else": { + "operation": "boost", + "score": 0.11978062987327576 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "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, + "then": { + "operation": "boost", + "score": 0.06982952356338501 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09102116525173187 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.13415855169296265 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.08478915691375732 + }, + "else": { + "operation": "boost", + "score": 0.11537665873765945 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06904816627502441 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0174709539860487 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13094978034496307 + }, + "else": { + "operation": "boost", + "score": 0.11940353363752365 + } + }, + "else": { + "operation": "boost", + "score": 0.10380633175373077 + } + }, + "else": { + "operation": "boost", + "score": 0.07671251893043518 + } + } + } + } + } + } + }, + "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, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.058593858033418655 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.0, + "then": { + "operation": "boost", + "score": -0.15567070245742798 + }, + "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.13624468445777893 + }, + "else": { + "operation": "boost", + "score": 0.12919513881206512 + } + }, + "else": { + "operation": "boost", + "score": 0.22057414054870605 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04283108934760094 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10592789947986603 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "boost", + "score": 0.09231950342655182 + }, + "else": { + "operation": "boost", + "score": 0.1235179677605629 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11386270821094513 + } + }, + "else": { + "operation": "boost", + "score": 0.07635854184627533 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03380712494254112 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.014271394349634647 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2467.0, + "then": { + "operation": "boost", + "score": -0.007748291827738285 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2386.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07565135508775711 + }, + "else": { + "operation": "boost", + "score": 0.10632441192865372 + } + }, + "else": { + "operation": "boost", + "score": 0.027966652065515518 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2387.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2431.5, + "then": { + "operation": "boost", + "score": 0.047395773231983185 + }, + "else": { + "operation": "boost", + "score": 0.11569291353225708 + } + }, + "else": { + "operation": "boost", + "score": 0.026777103543281555 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11377976089715958 + }, + "else": { + "operation": "boost", + "score": 0.056930482387542725 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.07279177010059357 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09287721663713455 + }, + "else": { + "operation": "boost", + "score": 0.11458054929971695 + } + } + }, + "else": { + "operation": "boost", + "score": 0.045119479298591614 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.02865528129041195 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.048734039068222046 + } + }, + "else": { + "operation": "boost", + "score": 0.03921354189515114 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009140616282820702 + } + }, + "else": { + "operation": "boost", + "score": -0.016950152814388275 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10991999506950378 + }, + "else": { + "operation": "boost", + "score": 0.035311613231897354 + } + }, + "else": { + "operation": "boost", + "score": 0.006411194335669279 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.015856720507144928 + }, + "else": { + "operation": "boost", + "score": -0.11893143504858017 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.14808812737464905 + }, + "else": { + "operation": "boost", + "score": -0.017065541818737984 + } + }, + "else": { + "operation": "boost", + "score": -0.055859580636024475 + } + }, + "else": { + "operation": "boost", + "score": 0.00047149803140200675 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027220049872994423 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.013170329853892326 + }, + "else": { + "operation": "boost", + "score": -0.0657099187374115 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07823386788368225 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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, + "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.004158367868512869 + }, + "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.1998032033443451 + }, + "else": { + "operation": "boost", + "score": 0.08642669767141342 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.30026769638061523 + }, + "else": { + "operation": "boost", + "score": -0.08226348459720612 + } + } + } + }, + "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": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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.056429069489240646 + }, + "else": { + "operation": "boost", + "score": 0.10962965339422226 + } + }, + "else": { + "operation": "boost", + "score": 0.04985824227333069 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06036071851849556 + }, + "else": { + "operation": "boost", + "score": 0.1554773896932602 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05000019818544388 + } + }, + "else": { + "operation": "boost", + "score": 0.0476999431848526 + } + }, + "else": { + "operation": "boost", + "score": 0.034632716327905655 + } + }, + "else": { + "operation": "boost", + "score": 0.023590052500367165 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.31732606887817383 + }, + "else": { + "operation": "boost", + "score": -0.12055932730436325 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.021290885284543037 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0004686132015194744 + }, + "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.09095242619514465 + }, + "else": { + "operation": "boost", + "score": -0.4516788423061371 + } + }, + "else": { + "operation": "boost", + "score": 0.036235831677913666 + } + } + } + }, + "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 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02418479509651661 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.08144573122262955 + }, + "else": { + "operation": "boost", + "score": 0.005046491976827383 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07016187906265259 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15475.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -1.6388708353042603 + }, + "else": { + "operation": "boost", + "score": 0.01353609748184681 + } + }, + "else": { + "operation": "boost", + "score": 0.07419298589229584 + } + }, + "else": { + "operation": "boost", + "score": -0.04359279200434685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 437.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.015129451639950275 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50016.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15888410806655884 + }, + "else": { + "operation": "boost", + "score": 0.15022319555282593 + } + }, + "else": { + "operation": "boost", + "score": 0.03470950573682785 + } + }, + "else": { + "operation": "boost", + "score": 0.06643996387720108 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008305911906063557 + } + }, + "else": { + "operation": "boost", + "score": 0.023680666461586952 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13838228583335876 + }, + "else": { + "operation": "boost", + "score": 0.09974934905767441 + } + }, + "else": { + "operation": "boost", + "score": 0.010753951035439968 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.12460842728614807 + }, + "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.013081609271466732 + }, + "else": { + "operation": "boost", + "score": -0.059728533029556274 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08272724598646164 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08231393992900848 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07351702451705933 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1086043119430542 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18510176241397858 + }, + "else": { + "operation": "boost", + "score": 0.13019341230392456 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1269158571958542 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.008135255426168442 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.041653111577034 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09218081086874008 + }, + "else": { + "operation": "boost", + "score": 0.09705513715744019 + } + }, + "else": { + "operation": "boost", + "score": 0.08929872512817383 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.033519402146339417 + } + }, + "else": { + "operation": "boost", + "score": 0.006593998055905104 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.0494287945330143 + }, + "else": { + "operation": "boost", + "score": 0.03758057951927185 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.030880779027938843 + }, + "else": { + "operation": "boost", + "score": -0.15388669073581696 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1811426728963852 + }, + "else": { + "operation": "boost", + "score": -0.049162257462739944 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.0115949222818017 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224557.0, + "then": { + "operation": "boost", + "score": 0.07513546943664551 + }, + "else": { + "operation": "boost", + "score": 0.04763924330472946 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031225891783833504 + }, + "else": { + "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": "boost", + "score": 0.06261239945888519 + }, + "else": { + "operation": "boost", + "score": 0.08525554090738297 + } + }, + "else": { + "operation": "boost", + "score": -0.24484962224960327 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05961265042424202 + } + }, + "else": { + "operation": "boost", + "score": 0.03605896979570389 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.005028680898249149 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.05963023751974106 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.022373225539922714 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.30472251772880554 + } + }, + "else": { + "operation": "boost", + "score": -0.037773244082927704 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.021445292979478836 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04334627836942673 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021679850295186043 + } + }, + "else": { + "operation": "boost", + "score": 0.00024177801969926804 + } + } + }, + "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": "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0229776781052351 + } + }, + "else": { + "operation": "boost", + "score": -0.01970292255282402 + } + } + } + } + } + } + } + } + } + }, + "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.017915893346071243 + }, + "else": { + "operation": "boost", + "score": 5.960137787042186e-05 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 158.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20988.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09231404960155487 + }, + "else": { + "operation": "boost", + "score": 0.10633259266614914 + } + }, + "else": { + "operation": "boost", + "score": -0.27707457542419434 + } + }, + "else": { + "operation": "boost", + "score": 0.14642679691314697 + } + }, + "else": { + "operation": "boost", + "score": -0.017311135306954384 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.048277098685503006 + }, + "else": { + "operation": "boost", + "score": -0.027555566281080246 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.022848084568977356 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.1276499330997467 + }, + "else": { + "operation": "boost", + "score": 0.029803911224007607 + } + } + }, + "else": { + "operation": "boost", + "score": -0.030351057648658752 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006040853913873434 + } + }, + "else": { + "operation": "boost", + "score": -0.013586803339421749 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.07463647425174713 + }, + "else": { + "operation": "boost", + "score": -0.10976671427488327 + } + } + }, + "else": { + "operation": "boost", + "score": -0.032559048384428024 + } + }, + "else": { + "operation": "boost", + "score": -0.006024362985044718 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09750589728355408 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "boost", + "score": 0.08360902965068817 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.056627433747053146 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20712.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": 0.03260404244065285 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10986123234033585 + }, + "else": { + "operation": "boost", + "score": 0.293671578168869 + } + }, + "else": { + "operation": "boost", + "score": 0.12396182864904404 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04080759361386299 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.041065461933612823 + } + } + } + } + } + }, + { + "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.12887835502624512 + }, + "else": { + "operation": "boost", + "score": 0.12466569244861603 + } + }, + "else": { + "operation": "boost", + "score": 0.08238833397626877 + } + }, + "else": { + "operation": "boost", + "score": 0.040539730340242386 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.021541614085435867 + }, + "else": { + "operation": "boost", + "score": -0.0018640795024111867 + } + }, + "else": { + "operation": "boost", + "score": 0.0010552451713010669 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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.010290146805346012 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06386742740869522 + }, + "else": { + "operation": "boost", + "score": 0.08427973836660385 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038188304752111435 + } + }, + "else": { + "operation": "boost", + "score": 0.032161910086870193 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04906740412116051 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.009942680597305298 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198405.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, + "then": { + "operation": "boost", + "score": -0.32180631160736084 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.1023341566324234 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03552621975541115 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -1.2521156072616577 + }, + "else": { + "operation": "boost", + "score": -0.159545436501503 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03609539940953255 + }, + "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, + "then": { + "operation": "boost", + "score": 0.01288848090916872 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.02848815731704235 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08387633413076401 + }, + "else": { + "operation": "boost", + "score": 0.1125057116150856 + } + }, + "else": { + "operation": "boost", + "score": 0.08142267167568207 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.040424644947052 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.04808743670582771 + }, + "else": { + "operation": "boost", + "score": -0.11438632011413574 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.00027323674294166267 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029535751789808273 + }, + "else": { + "operation": "boost", + "score": -0.0747060626745224 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.052256859838962555 + }, + "else": { + "operation": "boost", + "score": 0.0399106927216053 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.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" + ], + "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, + "then": { + "operation": "boost", + "score": -0.09743181616067886 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.12523522973060608 + }, + "else": { + "operation": "boost", + "score": 0.025360755622386932 + } + } + } + } + } + }, + "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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017629336565732956 + } + }, + "else": { + "operation": "boost", + "score": -0.0006907873903401196 + } + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.04129347577691078 + }, + "else": { + "operation": "boost", + "score": 0.07473145425319672 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02807326801121235 + } + }, + "else": { + "operation": "boost", + "score": 0.0015925884945318103 + } + }, + "else": { + "operation": "boost", + "score": -0.07494991272687912 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "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.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, + "then": { + "operation": "boost", + "score": 0.0627354085445404 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0519317165017128 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09904716908931732 + }, + "else": { + "operation": "boost", + "score": 0.09262993931770325 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11901187896728516 + }, + "else": { + "operation": "boost", + "score": 0.14329354465007782 + } + }, + "else": { + "operation": "boost", + "score": 0.09832216799259186 + } + }, + "else": { + "operation": "boost", + "score": -0.22307570278644562 + } + }, + "else": { + "operation": "boost", + "score": 0.1606633961200714 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16649.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10863.0, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 544.0, + "then": { + "operation": "boost", + "score": 0.06447213143110275 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1335192620754242 + }, + "else": { + "operation": "boost", + "score": -0.02664247155189514 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05031486228108406 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 439.0, + "then": { + "operation": "boost", + "score": 0.03519608452916145 + }, + "else": { + "operation": "boost", + "score": 0.12046831846237183 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0063274819403886795 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05711178854107857 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09412408620119095 + }, + "else": { + "operation": "boost", + "score": 0.1713298112154007 + } + }, + "else": { + "operation": "boost", + "score": -0.12469792366027832 + } + }, + "else": { + "operation": "boost", + "score": 0.07142403721809387 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008627897128462791 + } + } + } + }, + "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.028437519446015358 + }, + "else": { + "operation": "boost", + "score": -0.07394642382860184 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.01469091884791851 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13093455135822296 + }, + "else": { + "operation": "boost", + "score": 0.09742853045463562 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04756439849734306 + } + } + }, + "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": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12900666892528534 + }, + "else": { + "operation": "boost", + "score": 0.010852071456611156 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13129784166812897 + }, + "else": { + "operation": "boost", + "score": -0.07505765557289124 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.017048219218850136 + } + } + } + } + } + }, + "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.015759270638227463 + }, + "else": { + "operation": "boost", + "score": 0.0003163550281897187 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.02991960197687149 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.10094334930181503 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12157659977674484 + }, + "else": { + "operation": "boost", + "score": -0.2871522903442383 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06710635870695114 + } + }, + "else": { + "operation": "boost", + "score": 0.11212179809808731 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": -0.13941670954227448 + }, + "else": { + "operation": "boost", + "score": 0.14975637197494507 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.07031866163015366 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12096211314201355 + }, + "else": { + "operation": "boost", + "score": 0.12560559809207916 + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03888791427016258 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010770267806947231 + } + }, + "else": { + "operation": "boost", + "score": -0.003582610981538892 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0014687872026115656 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1116989403963089 + }, + "else": { + "operation": "boost", + "score": 0.05363822728395462 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 258.5, + "then": { + "operation": "boost", + "score": 0.10436039417982101 + }, + "else": { + "operation": "boost", + "score": 0.12401872128248215 + } + }, + "else": { + "operation": "boost", + "score": 0.017355889081954956 + } + }, + "else": { + "operation": "boost", + "score": 0.07161929458379745 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.013320730067789555 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12182746082544327 + }, + "else": { + "operation": "boost", + "score": -0.1365155726671219 + } + }, + "else": { + "operation": "boost", + "score": 0.016611987724900246 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10185392946004868 + }, + "else": { + "operation": "boost", + "score": 0.058336690068244934 + } + }, + "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", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03240754455327988 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09503640234470367 + }, + "else": { + "operation": "boost", + "score": 0.03965878114104271 + } + } + }, + "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 + } + }, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08984484523534775 + }, + "else": { + "operation": "boost", + "score": 0.08143492788076401 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "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", + "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_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04179045557975769 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02805148996412754 + }, + "else": { + "operation": "boost", + "score": 0.00230971397832036 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0026169857010245323 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13594309985637665 + }, + "else": { + "operation": "boost", + "score": 0.12526991963386536 + } + }, + "else": { + "operation": "boost", + "score": 0.07497192174196243 + } + }, + "else": { + "operation": "boost", + "score": 0.06308816373348236 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0507974736392498 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.17020881175994873 + }, + "else": { + "operation": "boost", + "score": -0.5755777955055237 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": -0.026376456022262573 + }, + "else": { + "operation": "boost", + "score": 0.09851187467575073 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.09426690638065338 + }, + "else": { + "operation": "boost", + "score": 0.03421686962246895 + } + }, + "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, + "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": [ + "Namespace" + ], + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0749538466334343 + }, + "else": { + "operation": "boost", + "score": -0.07077331840991974 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0015364899300038815 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0021043044980615377 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1041334792971611 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "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.012362890876829624 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11032354086637497 + }, + "else": { + "operation": "boost", + "score": 0.10753829032182693 + } + }, + "else": { + "operation": "boost", + "score": -0.358332097530365 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0831911638379097 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36980.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1302252858877182 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286988.5, + "then": { + "operation": "boost", + "score": -0.05880420655012131 + }, + "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 + } + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14351.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "then": { + "operation": "boost", + "score": 0.041113775223493576 + }, + "else": { + "operation": "boost", + "score": 0.10476669669151306 + } + }, + "else": { + "operation": "boost", + "score": -0.050900649279356 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.004944262094795704 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03363104164600372 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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, + "then": { + "operation": "boost", + "score": 0.07987906783819199 + }, + "else": { + "operation": "boost", + "score": 0.09342845529317856 + } + }, + "else": { + "operation": "boost", + "score": 0.07024336606264114 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1077740490436554 + }, + "else": { + "operation": "boost", + "score": 0.01436479389667511 + } + }, + "else": { + "operation": "boost", + "score": 0.06916176527738571 + } + }, + "else": { + "operation": "boost", + "score": -0.0787133052945137 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.007372744847089052 + }, + "else": { + "operation": "boost", + "score": 0.06091783195734024 + } + }, + "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" + ], + "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.11158294230699539 + }, + "else": { + "operation": "boost", + "score": 0.12223398685455322 + } + }, + "else": { + "operation": "boost", + "score": 0.08228498697280884 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1072922870516777 + }, + "else": { + "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" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06461576372385025 + }, + "else": { + "operation": "boost", + "score": -0.06465237587690353 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012577549554407597 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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, + "then": { + "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": 114453.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131140.0, + "then": { + "operation": "boost", + "score": 0.051169537007808685 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.005743689369410276 + }, + "else": { + "operation": "boost", + "score": 0.045168597251176834 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015847187489271164 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 365.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0078257005661726 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 276207.0, + "then": { + "operation": "boost", + "score": -0.1911870390176773 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.26270079612731934 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6103.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14068.0, + "then": { + "operation": "boost", + "score": 0.10658499598503113 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6106.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09425289928913116 + }, + "else": { + "operation": "boost", + "score": 0.05812806636095047 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12077239900827408 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10097719728946686 + }, + "else": { + "operation": "boost", + "score": 0.11547088623046875 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1135479286313057 + }, + "else": { + "operation": "boost", + "score": -0.28690779209136963 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07018455862998962 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009990934282541275 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00679735979065299 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.037491001188755035 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.021418875083327293 + } + }, + "else": { + "operation": "boost", + "score": -0.0829017162322998 + } + }, + "else": { + "operation": "boost", + "score": -0.08786617964506149 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03582140803337097 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015283828601241112 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010320584289729595 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Keyword", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014258713461458683 + }, + "else": { + "operation": "boost", + "score": 0.00025040374021045864 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06343347579240799 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.019932996481657028 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 300.5, + "then": { + "operation": "boost", + "score": 0.08548200875520706 + }, + "else": { + "operation": "boost", + "score": 0.12726904451847076 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04512592405080795 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026534900069236755 + }, + "else": { + "operation": "boost", + "score": 0.05955624580383301 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019358094781637192 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22159.5, + "then": { + "operation": "boost", + "score": -0.12058234959840775 + }, + "else": { + "operation": "boost", + "score": 0.01066964864730835 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005765978246927261 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.049184590578079224 + }, + "else": { + "operation": "boost", + "score": -0.03665490448474884 + } + }, + "else": { + "operation": "boost", + "score": 0.023107172921299934 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015593919903039932 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07779064029455185 + }, + "else": { + "operation": "boost", + "score": 0.1318264901638031 + } + }, + "else": { + "operation": "boost", + "score": -0.181773379445076 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.002527388744056225 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188273.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212125.0, + "then": { + "operation": "boost", + "score": 0.01723814755678177 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09902393817901611 + }, + "else": { + "operation": "boost", + "score": 0.05648641660809517 + } + }, + "else": { + "operation": "boost", + "score": 0.08290049433708191 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026899755001068115 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.029463807120919228 + }, + "else": { + "operation": "boost", + "score": -0.006981572136282921 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": 0.0019039582693949342 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.057437047362327576 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.17440161108970642 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4139.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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06132173165678978 + } + }, + "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_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.017332211136817932 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.06556219607591629 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2989.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3020.0, + "then": { + "operation": "boost", + "score": 0.057689908891916275 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11942876875400543 + }, + "else": { + "operation": "boost", + "score": 0.07964987307786942 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01252664253115654 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.05027295649051666 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049882471561431885 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06162319332361221 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.014205056242644787 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.008104241453111172 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0572921447455883 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022743435576558113 + } + } + } + } + } + } + } + } + }, + { + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "boost", + "score": 0.044332366436719894 + }, + "else": { + "operation": "boost", + "score": 0.05637243017554283 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11242170631885529 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10500545054674149 + }, + "else": { + "operation": "boost", + "score": 0.09383407235145569 + } + }, + "else": { + "operation": "boost", + "score": 0.11762729287147522 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08878738433122635 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13465680181980133 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.0, + "then": { + "operation": "boost", + "score": 0.10743604600429535 + }, + "else": { + "operation": "boost", + "score": 0.11819779127836227 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.0, + "then": { + "operation": "boost", + "score": 0.10978491604328156 + }, + "else": { + "operation": "boost", + "score": 0.15161405503749847 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.0, + "then": { + "operation": "boost", + "score": 0.12034732103347778 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06212656944990158 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07173499464988708 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5949.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024490725249052048 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05869108811020851 + }, + "else": { + "operation": "boost", + "score": 0.029448142275214195 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06331805139780045 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.45885273814201355 + } + }, + "else": { + "operation": "boost", + "score": 0.06173882260918617 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020587138831615448 + } + }, + "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": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "boost", + "score": -0.11141282320022583 + }, + "else": { + "operation": "boost", + "score": 0.12494681030511856 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125771.5, + "then": { + "operation": "boost", + "score": 0.030168848112225533 + }, + "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.08805901557207108 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.12514813244342804 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09587624669075012 + }, + "else": { + "operation": "boost", + "score": 0.12434445321559906 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.4456024467945099 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01611574925482273 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03391832113265991 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 560.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12538626790046692 + }, + "else": { + "operation": "boost", + "score": 0.1212819293141365 + } + }, + "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 + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07161837816238403 + } + }, + "else": { + "operation": "boost", + "score": 0.07791821658611298 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06560330837965012 + }, + "else": { + "operation": "boost", + "score": -0.026963533833622932 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08175066113471985 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07526537030935287 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1071084663271904 + }, + "else": { + "operation": "boost", + "score": 0.12643826007843018 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10765700042247772 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.006369583774358034 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "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" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.02886055037379265 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12985944747924805 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12017995119094849 + }, + "else": { + "operation": "boost", + "score": -0.17190124094486237 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.057189494371414185 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009064608253538609 + } + }, + "else": { + "operation": "boost", + "score": -0.003482540836557746 + } + }, + "else": { + "operation": "boost", + "score": -0.009039236232638359 + } + }, + "else": { + "operation": "boost", + "score": -0.047549277544021606 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004251972306519747 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07813660800457001 + }, + "else": { + "operation": "boost", + "score": -0.02749130129814148 + } + }, + "else": { + "operation": "boost", + "score": -0.07432621717453003 + } + } + } + } + } + }, + { + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", + "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": "boost", + "score": -0.06941325962543488 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0602685809135437 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09836097806692123 + }, + "else": { + "operation": "boost", + "score": 0.08150701224803925 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13305586576461792 + }, + "else": { + "operation": "boost", + "score": 0.6081913709640503 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08336562663316727 + }, + "else": { + "operation": "boost", + "score": 0.11675931513309479 + } + }, + "else": { + "operation": "boost", + "score": 0.07265067845582962 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1553.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18126.0, + "then": { + "operation": "boost", + "score": -0.1083400696516037 + }, + "else": { + "operation": "boost", + "score": 0.030945170670747757 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1556.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.19138003885746002 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.051508884876966476 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6924.5, + "then": { + "operation": "boost", + "score": 0.11130589991807938 + }, + "else": { + "operation": "boost", + "score": 0.09965404123067856 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04940570890903473 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09925574064254761 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14120.0, + "then": { + "operation": "boost", + "score": 0.02404327690601349 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12036.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12368.0, + "then": { + "operation": "boost", + "score": 0.08729834854602814 + }, + "else": { + "operation": "boost", + "score": 0.1149715855717659 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1191517636179924 + }, + "else": { + "operation": "boost", + "score": 0.09716836363077164 + } + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14036910235881805 + } + } + }, + "else": { + "operation": "boost", + "score": 0.048961199820041656 + } + }, + "else": { + "operation": "boost", + "score": 0.005872698500752449 + } + }, + "else": { + "operation": "boost", + "score": -0.045748114585876465 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01582193747162819 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0790092870593071 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.21842461824417114 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08102986216545105 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0803779661655426 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10533498972654343 + }, + "else": { + "operation": "boost", + "score": 0.12419462203979492 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04214998334646225 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "then": { + "operation": "boost", + "score": -0.15459328889846802 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43302.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10011604428291321 + }, + "else": { + "operation": "boost", + "score": 0.27451881766319275 + } + }, + "else": { + "operation": "boost", + "score": -0.041365448385477066 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.021268779411911964 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": 0.06711087375879288 + }, + "else": { + "operation": "boost", + "score": 0.047260262072086334 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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, + "then": { + "operation": "boost", + "score": 0.03392397239804268 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7394.5, + "then": { + "operation": "boost", + "score": 0.03871846944093704 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + } + } + }, + "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 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.08963658660650253 + }, + "else": { + "operation": "boost", + "score": 0.104456827044487 + } + }, + "else": { + "operation": "boost", + "score": 0.022622032091021538 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0012129928218200803 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.201791912317276 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.5147477388381958 + }, + "else": { + "operation": "boost", + "score": 0.12446734309196472 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03868666663765907 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01119890809059143 + } + }, + "else": { + "operation": "boost", + "score": -0.009964855387806892 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": -0.39761507511138916 + }, + "else": { + "operation": "boost", + "score": -0.007818270474672318 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.10022274404764175 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09407122433185577 + } + } + }, + "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 + } + } + } + } + }, + "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": [ + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1279214471578598 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020298192277550697 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06048618629574776 + }, + "else": { + "operation": "boost", + "score": 0.0860477089881897 + } + }, + "else": { + "operation": "boost", + "score": 0.07185933738946915 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005825608386658132 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "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": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.037764210253953934 + }, + "else": { + "operation": "boost", + "score": -0.10201797634363174 + } + }, + "else": { + "operation": "boost", + "score": 0.028063545003533363 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0012330212630331516 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03478085994720459 + }, + "else": { + "operation": "boost", + "score": 0.06747892498970032 + } + }, + "else": { + "operation": "boost", + "score": 0.03937201946973801 + } + }, + "else": { + "operation": "boost", + "score": -0.01441846415400505 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.024845615029335022 + }, + "else": { + "operation": "boost", + "score": -0.00190269504673779 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14977483451366425 + }, + "else": { + "operation": "boost", + "score": 0.019548270851373672 + } + } + }, + "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_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.029466550797224045 + }, + "else": { + "operation": "boost", + "score": -0.0802449956536293 + } + }, + "else": { + "operation": "boost", + "score": 0.03951083496212959 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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": 73.0, + "then": { + "operation": "boost", + "score": 0.11643892526626587 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08768191933631897 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11886617541313171 + }, + "else": { + "operation": "boost", + "score": -0.11489877104759216 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.08315980434417725 + }, + "else": { + "operation": "boost", + "score": 0.08730006217956543 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.0, + "then": { + "operation": "boost", + "score": 0.14098715782165527 + }, + "else": { + "operation": "boost", + "score": -0.21334490180015564 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.049467626959085464 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.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 + } + }, + "else": { + "operation": "boost", + "score": 0.06340132653713226 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03003775142133236 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32455.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.027373597025871277 + }, + "else": { + "operation": "boost", + "score": 0.10245457291603088 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.30038347840309143 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.052560895681381226 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.07851014286279678 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11327320337295532 + }, + "else": { + "operation": "boost", + "score": 0.09238667786121368 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.33540767431259155 + }, + "else": { + "operation": "boost", + "score": 0.12642799317836761 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.0, + "then": { + "operation": "boost", + "score": 0.12914635241031647 + }, + "else": { + "operation": "boost", + "score": 0.13379783928394318 + } + }, + "else": { + "operation": "boost", + "score": 0.10977227240800858 + } + }, + "else": { + "operation": "boost", + "score": 0.006455335766077042 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02614423632621765 + } + } + }, + "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": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Namespace", + "CCC_ClassOrStructTag" + ], + "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 + } + } + }, + "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": "boost", + "score": 0.0026659443974494934 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14351.0, + "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, + "then": { + "operation": "boost", + "score": -0.1390950083732605 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.002484734868630767 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08422459661960602 + } + }, + "else": { + "operation": "boost", + "score": 0.01252271980047226 + } + }, + "else": { + "operation": "boost", + "score": 0.03920121490955353 + } + } + }, + "else": { + "operation": "boost", + "score": -0.053163792937994 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.02670091949403286 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0917905941605568 + }, + "else": { + "operation": "boost", + "score": -0.23781941831111908 + } + }, + "else": { + "operation": "boost", + "score": -0.22014950215816498 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.00416308781132102 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008783924393355846 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.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.17530672252178192 + }, + "else": { + "operation": "boost", + "score": -0.02860230766236782 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1242816224694252 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10251595079898834 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12718521058559418 + }, + "else": { + "operation": "boost", + "score": 0.12533700466156006 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12486592680215836 + } + } + }, + "else": { + "operation": "boost", + "score": 0.032293837517499924 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018691562116146088 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00492141442373395 + } + } + }, + { + "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.06182582303881645 + }, + "else": { + "operation": "boost", + "score": 0.17100366950035095 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.002069437177851796 + }, + "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": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.06902512907981873 + }, + "else": { + "operation": "boost", + "score": 0.02116074226796627 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.027957657352089882 + } + }, + "else": { + "operation": "boost", + "score": 0.057636808604002 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.014516049064695835 + }, + "else": { + "operation": "boost", + "score": 0.0734236016869545 + } + }, + "else": { + "operation": "boost", + "score": 0.01022498868405819 + } + }, + "else": { + "operation": "boost", + "score": -0.13361452519893646 + } + } + }, + "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": "boost", + "score": 0.005223101004958153 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07983660697937012 + }, + "else": { + "operation": "boost", + "score": 0.05635559931397438 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07123078405857086 + } + }, + "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.02420501410961151 + }, + "else": { + "operation": "boost", + "score": 0.034786343574523926 + } + }, + "else": { + "operation": "boost", + "score": 0.01828848198056221 + } + }, + "else": { + "operation": "boost", + "score": -0.03477003425359726 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0004819124296773225 + }, + "else": { + "operation": "boost", + "score": -0.038340646773576736 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22187013924121857 + }, + "else": { + "operation": "boost", + "score": 0.05970111861824989 + } + }, + "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.035333093255758286 + }, + "else": { + "operation": "boost", + "score": -0.013169330544769764 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.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": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.16221630573272705 + }, + "else": { + "operation": "boost", + "score": 0.11659789085388184 + } + }, + "else": { + "operation": "boost", + "score": 0.055196087807416916 + } + }, + "else": { + "operation": "boost", + "score": 0.05039915069937706 + } + }, + "else": { + "operation": "boost", + "score": 0.015044107101857662 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.044189222157001495 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11256571114063263 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10978872328996658 + }, + "else": { + "operation": "boost", + "score": 0.10819704830646515 + } + }, + "else": { + "operation": "boost", + "score": 0.10692206770181656 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06670241802930832 + } + }, + "else": { + "operation": "boost", + "score": -0.11143957078456879 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0016030961414799094 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.051110513508319855 + }, + "else": { + "operation": "boost", + "score": -0.006925113964825869 + } + }, + "else": { + "operation": "boost", + "score": 0.02259586751461029 + } + }, + "else": { + "operation": "boost", + "score": 0.11905127018690109 + } + }, + "else": { + "operation": "boost", + "score": 0.005769792012870312 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.02062174864113331 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13816940784454346 + }, + "else": { + "operation": "boost", + "score": 0.10836273431777954 + } + }, + "else": { + "operation": "boost", + "score": -0.2281723916530609 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.11765868216753006 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.036040693521499634 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.03704918920993805 + }, + "else": { + "operation": "boost", + "score": -0.12803958356380463 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0035522831603884697 + }, + "else": { + "operation": "boost", + "score": -0.1034652516245842 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": -0.21670860052108765 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15504993498325348 + }, + "else": { + "operation": "boost", + "score": 0.11689051240682602 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005599428899586201 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03244095295667648 + }, + "else": { + "operation": "boost", + "score": 0.05695037171244621 + } + }, + "else": { + "operation": "boost", + "score": -0.06515029817819595 + } + }, + "else": { + "operation": "boost", + "score": 0.0016943500377237797 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054067280143499374 + }, + "else": { + "operation": "boost", + "score": 0.0006495403940789402 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.023781679570674896 + }, + "else": { + "operation": "boost", + "score": -0.09364958852529526 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.004248082172125578 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010284860618412495 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09990038722753525 + }, + "else": { + "operation": "boost", + "score": 0.0299709253013134 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10232886672019958 + }, + "else": { + "operation": "boost", + "score": 0.0023370457347482443 + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190379.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 252796.0, + "then": { + "operation": "boost", + "score": 0.01262577436864376 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06128556281328201 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10714489966630936 + }, + "else": { + "operation": "boost", + "score": 0.07113824039697647 + } + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.019731290638446808 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.17147105932235718 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0018643205985426903 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6193.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6280.0, + "then": { + "operation": "boost", + "score": 0.09908182173967361 + }, + "else": { + "operation": "boost", + "score": 0.118752121925354 + } + }, + "else": { + "operation": "boost", + "score": 0.04781276732683182 + } + }, + "else": { + "operation": "boost", + "score": 0.04785250127315521 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 299.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 813.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.1032017394900322 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1543.5, + "then": { + "operation": "boost", + "score": 0.04169320687651634 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1509.0, + "then": { + "operation": "boost", + "score": 0.1270449459552765 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11601822823286057 + }, + "else": { + "operation": "boost", + "score": 0.11054132878780365 + } + }, + "else": { + "operation": "boost", + "score": 0.12181209027767181 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03905757516622543 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.060424208641052246 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 480.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 603.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1239.0, + "then": { + "operation": "boost", + "score": 0.060852907598018646 + }, + "else": { + "operation": "boost", + "score": 0.1188894659280777 + } + }, + "else": { + "operation": "boost", + "score": 0.11697622388601303 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015072571113705635 + } + }, + "else": { + "operation": "boost", + "score": 0.04707271605730057 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Function" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03215567395091057 + } + }, + "else": { + "operation": "boost", + "score": 0.019790196791291237 + } + }, + "else": { + "operation": "boost", + "score": 0.01125742681324482 + } + }, + "else": { + "operation": "boost", + "score": -0.05526473745703697 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0393889956176281 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07119868695735931 + }, + "else": { + "operation": "boost", + "score": 0.09539904445409775 + } + }, + "else": { + "operation": "boost", + "score": 0.02767709642648697 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.03957144543528557 + } + } + }, + "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": 3.0, + "then": { + "operation": "boost", + "score": 0.01959867775440216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0736430212855339 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11721790581941605 + } + } + }, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006512723863124847 + } + }, + "else": { + "operation": "boost", + "score": -0.0029075846541672945 + } + } + } + } + }, + "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.018952300772070885 + }, + "else": { + "operation": "boost", + "score": -0.008158359676599503 + } + }, + "else": { + "operation": "boost", + "score": 0.007308292668312788 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91114.0, + "then": { + "operation": "boost", + "score": -0.027760857716202736 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02663494646549225 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.055172696709632874 + } + }, + "else": { + "operation": "boost", + "score": 0.08589357137680054 + } + }, + "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 + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 1150.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1243.0, + "then": { + "operation": "boost", + "score": 0.0725753977894783 + }, + "else": { + "operation": "boost", + "score": 0.1057867631316185 + } + }, + "else": { + "operation": "boost", + "score": -0.06936198472976685 + } + }, + "else": { + "operation": "boost", + "score": -0.005325288977473974 + } + }, + "else": { + "operation": "boost", + "score": -0.10791806131601334 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.044092658907175064 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.14274711906909943 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": 0.023541215807199478 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "boost", + "score": 0.054671287536621094 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.5836332440376282 + }, + "else": { + "operation": "boost", + "score": 0.12928380072116852 + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 451.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 888.0, + "then": { + "operation": "boost", + "score": 0.04379646107554436 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 692.5, + "then": { + "operation": "boost", + "score": 0.11370794475078583 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 530.5, + "then": { + "operation": "boost", + "score": 0.19373862445354462 + }, + "else": { + "operation": "boost", + "score": 0.11517030745744705 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08684636652469635 + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": 0.06574453413486481 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.10242611914873123 + }, + "else": { + "operation": "boost", + "score": 0.11525525897741318 + } + } + }, + "else": { + "operation": "boost", + "score": 0.039315883070230484 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06572253257036209 + }, + "else": { + "operation": "boost", + "score": 0.035730794072151184 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019247403368353844 + } + }, + "else": { + "operation": "boost", + "score": 0.004909387789666653 + } + } + } + } + } + }, + { + "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.06071851775050163 + }, + "else": { + "operation": "boost", + "score": 0.14639528095722198 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.5, + "then": { + "operation": "boost", + "score": -0.16232164204120636 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05159220099449158 + }, + "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.035690877586603165 + }, + "else": { + "operation": "boost", + "score": -0.03789418190717697 + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 157.5, + "then": { + "operation": "boost", + "score": 0.34457096457481384 + }, + "else": { + "operation": "boost", + "score": 0.1496005356311798 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.012382637709379196 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10159468650817871 + }, + "else": { + "operation": "boost", + "score": 0.0649639442563057 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07980065792798996 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.018246840685606003 + }, + "else": { + "operation": "boost", + "score": -0.07802663743495941 + } + }, + "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": 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, + "then": { + "operation": "boost", + "score": 0.1203104630112648 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1334071308374405 + }, + "else": { + "operation": "boost", + "score": 0.14900195598602295 + } + } + } + }, + "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.10440539568662643 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13821075856685638 + }, + "else": { + "operation": "boost", + "score": -0.12316155433654785 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11721417307853699 + } + } + }, + "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.031529996544122696 + }, + "else": { + "operation": "boost", + "score": 0.10570196807384491 + } + }, + "else": { + "operation": "boost", + "score": 0.016665300354361534 + } + }, + "else": { + "operation": "boost", + "score": 0.12573793530464172 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0447971485555172 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1007.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1552.5, + "then": { + "operation": "boost", + "score": 0.06064531207084656 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11283434927463531 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1252.0, + "then": { + "operation": "boost", + "score": -0.09366494417190552 + }, + "else": { + "operation": "boost", + "score": 0.11267872154712677 + } + }, + "else": { + "operation": "boost", + "score": 0.11814407259225845 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03686491772532463 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06592125445604324 + } + }, + "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.07209806144237518 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.07908260822296143 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4177.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.030778104439377785 + }, + "else": { + "operation": "boost", + "score": 0.058646030724048615 + } + } + } + } + } + } + } + }, + "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": 205637.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.042969606816768646 + }, + "else": { + "operation": "boost", + "score": 0.02550957165658474 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "boost", + "score": 0.07935427874326706 + }, + "else": { + "operation": "boost", + "score": -0.28933024406433105 + } + }, + "else": { + "operation": "boost", + "score": 0.04694471135735512 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01582043245434761 + } + }, + "else": { + "operation": "boost", + "score": -0.0012833031360059977 + } + } + }, + "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.09613696485757828 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07688058912754059 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07019004225730896 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10741425305604935 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10758520662784576 + }, + "else": { + "operation": "boost", + "score": 0.13862617313861847 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2496323138475418 + }, + "else": { + "operation": "boost", + "score": 0.09752993285655975 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "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.015720579773187637 + }, + "else": { + "operation": "boost", + "score": -0.02228173054754734 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026750732213258743 + }, + "else": { + "operation": "boost", + "score": 0.07888177037239075 + } + } + }, + "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, + "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 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09925622493028641 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.03997116535902023 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05310390517115593 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12447679787874222 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.06556141376495361 + }, + "else": { + "operation": "boost", + "score": -0.05998910218477249 + } + } + } + } + }, + "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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.025909969583153725 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006944198627024889 + } + }, + "else": { + "operation": "boost", + "score": -0.009845097549259663 + } + }, + "else": { + "operation": "boost", + "score": -0.043613601475954056 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "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.07590445131063461 + }, + "else": { + "operation": "boost", + "score": -0.20375418663024902 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07628127187490463 + }, + "else": { + "operation": "boost", + "score": 0.05877593904733658 + } + }, + "else": { + "operation": "boost", + "score": 0.03685138002038002 + } + }, + "else": { + "operation": "boost", + "score": 0.04749186336994171 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0024221341591328382 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.041035156697034836 + }, + "else": { + "operation": "boost", + "score": -0.06757434457540512 + } + }, + "else": { + "operation": "boost", + "score": -0.020796459168195724 + } + } + } + } + } + } + } + }, + { + "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_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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.07513289898633957 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03178279846906662 + }, + "else": { + "operation": "boost", + "score": 0.08062103390693665 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037669263780117035 + }, + "else": { + "operation": "boost", + "score": 0.055438727140426636 + } + }, + "else": { + "operation": "boost", + "score": 0.004645397886633873 + } + }, + "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", + "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.13932059705257416 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10519697517156601 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.052728839218616486 + }, + "else": { + "operation": "boost", + "score": 0.06702589243650436 + } + }, + "else": { + "operation": "boost", + "score": 0.02179759368300438 + } + } + }, + "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": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.0637589544057846 + }, + "else": { + "operation": "boost", + "score": -0.007765414658933878 + } + }, + "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": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114453.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131140.0, + "then": { + "operation": "boost", + "score": 0.045237258076667786 + }, + "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.08419293165206909 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.12412413954734802 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.0940600335597992 + }, + "else": { + "operation": "boost", + "score": 0.12364988774061203 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24940304458141327 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01221949141472578 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 683.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03068162314593792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1340.0, + "then": { + "operation": "boost", + "score": 0.11242316663265228 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 420.5, + "then": { + "operation": "boost", + "score": 0.07551996409893036 + }, + "else": { + "operation": "boost", + "score": 0.023593218997120857 + } + }, + "else": { + "operation": "boost", + "score": 0.0867103859782219 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1969.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3442.5, + "then": { + "operation": "boost", + "score": 0.1196899488568306 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0991273894906044 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10829605907201767 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13983984291553497 + }, + "else": { + "operation": "boost", + "score": 0.09010981768369675 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1325269192457199 + } + }, + "else": { + "operation": "boost", + "score": 0.023553382605314255 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": 0.11711081862449646 + }, + "else": { + "operation": "boost", + "score": 0.03592630848288536 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.12360387295484543 + }, + "else": { + "operation": "boost", + "score": 0.12251480668783188 + } + }, + "else": { + "operation": "boost", + "score": 0.08105325698852539 + } + }, + "else": { + "operation": "boost", + "score": 0.05706547573208809 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4161.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03223425894975662 + } + }, + "else": { + "operation": "boost", + "score": 0.032497722655534744 + } + }, + "else": { + "operation": "boost", + "score": 0.00012196688476251438 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011368856765329838 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0033462028950452805 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.05730496346950531 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12477611005306244 + }, + "else": { + "operation": "boost", + "score": 0.0418354831635952 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01120477169752121 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.009109653532505035 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.042989157140254974 + }, + "else": { + "operation": "boost", + "score": -0.16067172586917877 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.009321057237684727 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09369667619466782 + }, + "else": { + "operation": "boost", + "score": 0.07315916568040848 + } + }, + "else": { + "operation": "boost", + "score": -0.06668688356876373 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.01947476528584957 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.034214701503515244 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0648512989282608 + }, + "else": { + "operation": "boost", + "score": -0.029322516173124313 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012271769344806671 + } + } + } + }, + "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_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": 91652.0, + "then": { + "operation": "boost", + "score": -0.030926156789064407 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.14807432889938354 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34582.0, + "then": { + "operation": "boost", + "score": 0.03442693129181862 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1390630155801773 + }, + "else": { + "operation": "boost", + "score": 0.04244382306933403 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019203592091798782 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3625830113887787 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "boost", + "score": -0.3536021411418915 + }, + "else": { + "operation": "boost", + "score": 0.011294856667518616 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010189378634095192 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09669365733861923 + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.016262909397482872 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8431.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.069822758436203 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11667069792747498 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + }, + "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 + } + } + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.07122601568698883 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.006817312445491552 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.02341451868414879 + }, + "else": { + "operation": "boost", + "score": 0.14946702122688293 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0795261412858963 + }, + "else": { + "operation": "boost", + "score": 0.10640650987625122 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12833333015441895 + }, + "else": { + "operation": "boost", + "score": -0.11902716755867004 + } + }, + "else": { + "operation": "boost", + "score": 0.15329906344413757 + } + }, + "else": { + "operation": "boost", + "score": -0.06679215282201767 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.042741648852825165 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09293608367443085 + }, + "else": { + "operation": "boost", + "score": -0.02198614552617073 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.11394062638282776 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09381028264760971 + }, + "else": { + "operation": "boost", + "score": 0.11111089587211609 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.09928173571825027 + }, + "else": { + "operation": "boost", + "score": -0.012684560380876064 + } + } + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09157977253198624 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.4422067701816559 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09907619655132294 + }, + "else": { + "operation": "boost", + "score": 0.14572104811668396 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.26960501074790955 + }, + "else": { + "operation": "boost", + "score": 0.012776344083249569 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10975966602563858 + }, + "else": { + "operation": "boost", + "score": 0.018587421625852585 + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08301718533039093 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.12320655584335327 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09213026612997055 + }, + "else": { + "operation": "boost", + "score": 0.12133612483739853 + } + } + }, + "else": { + "operation": "boost", + "score": 0.38433170318603516 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105661.0, + "then": { + "operation": "boost", + "score": -0.18423886597156525 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10002895444631577 + }, + "else": { + "operation": "boost", + "score": 0.11552955210208893 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08628657460212708 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.14457258582115173 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1259979009628296 + }, + "else": { + "operation": "boost", + "score": 0.11402744054794312 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1298680454492569 + } + }, + "else": { + "operation": "boost", + "score": 0.012688267044723034 + } + }, + "else": { + "operation": "boost", + "score": 0.03299766778945923 + } + }, + "else": { + "operation": "boost", + "score": 0.09358197450637817 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015658626332879066 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10040845721960068 + }, + "else": { + "operation": "boost", + "score": -0.11176079511642456 + } + }, + "else": { + "operation": "boost", + "score": -0.014651602134108543 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.0028531206771731377 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "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", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3166.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05223378911614418 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7110.5, + "then": { + "operation": "boost", + "score": 0.10967124998569489 + }, + "else": { + "operation": "boost", + "score": 0.1028580516576767 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.06280917674303055 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11435795575380325 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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.060719069093465805 + }, + "else": { + "operation": "boost", + "score": 0.1231951117515564 + } + }, + "else": { + "operation": "boost", + "score": -0.0913672000169754 + } + }, + "else": { + "operation": "boost", + "score": 0.12353872507810593 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012488068081438541 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5312.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7112.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.06878048926591873 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16649.0, + "then": { + "operation": "boost", + "score": -0.013076039962470531 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9135.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10236.0, + "then": { + "operation": "boost", + "score": 0.10826937854290009 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.14712758362293243 + }, + "else": { + "operation": "boost", + "score": 0.04003184288740158 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06631898134946823 + } + }, + "else": { + "operation": "boost", + "score": 0.06417351216077805 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.0904388576745987 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5871.0, + "then": { + "operation": "boost", + "score": 0.12305407226085663 + }, + "else": { + "operation": "boost", + "score": -0.20087683200836182 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.06577925384044647 + }, + "else": { + "operation": "boost", + "score": 0.1029178649187088 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.11294586211442947 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01938808709383011 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04191677272319794 + }, + "else": { + "operation": "boost", + "score": -0.046247877180576324 + } + }, + "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.008002441376447678 + }, + "else": { + "operation": "boost", + "score": 0.12181079387664795 + } + }, + "else": { + "operation": "boost", + "score": 0.040397029370069504 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.01611616276204586 + }, + "else": { + "operation": "boost", + "score": 0.03388639912009239 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006198185961693525 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 157.5, + "then": { + "operation": "boost", + "score": 0.2354539930820465 + }, + "else": { + "operation": "boost", + "score": 0.13988348841667175 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1552.5, + "then": { + "operation": "boost", + "score": 0.05233093723654747 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10758601129055023 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1086.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1252.0, + "then": { + "operation": "boost", + "score": -0.09038859605789185 + }, + "else": { + "operation": "boost", + "score": 0.11533869802951813 + } + }, + "else": { + "operation": "boost", + "score": 0.11609964072704315 + } + }, + "else": { + "operation": "boost", + "score": 0.08602800965309143 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03946629911661148 + } + } + }, + "else": { + "operation": "boost", + "score": 0.052580177783966064 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04656102880835533 + }, + "else": { + "operation": "boost", + "score": 0.06628914177417755 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05008967965841293 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09932929277420044 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11124866455793381 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 405.0, + "then": { + "operation": "boost", + "score": 0.10980620980262756 + }, + "else": { + "operation": "boost", + "score": 0.12386117875576019 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.049790263175964355 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11629769206047058 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13163.5, + "then": { + "operation": "boost", + "score": 0.086774542927742 + }, + "else": { + "operation": "boost", + "score": 0.12333663552999496 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3952.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10651.0, + "then": { + "operation": "boost", + "score": -0.1764928102493286 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3907.5, + "then": { + "operation": "boost", + "score": 0.144175723195076 + }, + "else": { + "operation": "boost", + "score": -0.14680153131484985 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3890.0, + "then": { + "operation": "boost", + "score": 0.053398873656988144 + }, + "else": { + "operation": "boost", + "score": 0.09616352617740631 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02200213447213173 + } + } + } + } + } + } + } + }, + "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": 205637.0, + "then": { + "operation": "boost", + "score": 0.016033081337809563 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "boost", + "score": 0.07539714127779007 + }, + "else": { + "operation": "boost", + "score": -0.285144180059433 + } + }, + "else": { + "operation": "boost", + "score": 0.044770970940589905 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014624646864831448 + } + }, + "else": { + "operation": "boost", + "score": -0.0008834452601149678 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 23.0, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02129642851650715 + }, + "else": { + "operation": "boost", + "score": -0.019452953711152077 + } + }, + "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 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3166.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05066920816898346 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7110.5, + "then": { + "operation": "boost", + "score": 0.10754256695508957 + }, + "else": { + "operation": "boost", + "score": 0.10018125921487808 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.016492828726768494 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.007237916346639395 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08478540182113647 + }, + "else": { + "operation": "boost", + "score": 0.13177445530891418 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5312.0, + "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, + "then": { + "operation": "boost", + "score": -0.012691495940089226 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.018739530816674232 + }, + "else": { + "operation": "boost", + "score": 0.1396903395652771 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10819803923368454 + }, + "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.11946242302656174 + }, + "else": { + "operation": "boost", + "score": -0.10629412531852722 + } + }, + "else": { + "operation": "boost", + "score": 0.13998833298683167 + } + }, + "else": { + "operation": "boost", + "score": -0.07277090102434158 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01639137975871563 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03666253760457039 + }, + "else": { + "operation": "boost", + "score": -0.04039780795574188 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 302.5, + "then": { + "operation": "boost", + "score": 0.04053515940904617 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.013196192681789398 + }, + "else": { + "operation": "boost", + "score": 0.03747519850730896 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50019.5, + "then": { + "operation": "boost", + "score": 0.06694560497999191 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.016431156545877457 + }, + "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": 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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019863540306687355 + } + }, + "else": { + "operation": "boost", + "score": 0.006242595613002777 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": 0.0064099738374352455 + }, + "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" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04246198385953903 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03514440730214119 + } + }, + "else": { + "operation": "boost", + "score": 0.0016166605055332184 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07715301215648651 + }, + "else": { + "operation": "boost", + "score": -0.027062665671110153 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012375684455037117 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04925978183746338 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11969412863254547 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "boost", + "score": 0.07112542539834976 + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.011769890785217285 + } + }, + "else": { + "operation": "boost", + "score": -0.07177700847387314 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002901364117860794 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "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", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07213352620601654 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07335653156042099 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0662769004702568 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10270394384860992 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1072164997458458 + }, + "else": { + "operation": "boost", + "score": 0.1317276954650879 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01743628829717636 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.015592592768371105 + }, + "else": { + "operation": "boost", + "score": 0.08851076662540436 + } + } + } + }, + "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 + } + }, + "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": { + "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.05717333406209946 + }, + "else": { + "operation": "boost", + "score": 0.1183508113026619 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.017086440697312355 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020628653466701508 + }, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3166.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04906630143523216 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7110.5, + "then": { + "operation": "boost", + "score": 0.10562645643949509 + }, + "else": { + "operation": "boost", + "score": 0.09772421419620514 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.35487380623817444 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11990343034267426 + } + }, + "else": { + "operation": "boost", + "score": -0.029726359993219376 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.07060061395168304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.19399192929267883 + }, + "else": { + "operation": "boost", + "score": 0.13085375726222992 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5312.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7021.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.02909601479768753 + }, + "else": { + "operation": "boost", + "score": 0.1089576706290245 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6944.0, + "then": { + "operation": "boost", + "score": 0.11505557596683502 + }, + "else": { + "operation": "boost", + "score": 0.09191352874040604 + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.05950554087758064 + }, + "else": { + "operation": "boost", + "score": -0.1795857846736908 + } + }, + "else": { + "operation": "boost", + "score": 0.026772288605570793 + } + } + }, + "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": 0.041107770055532455 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2754811644554138 + }, + "else": { + "operation": "boost", + "score": -0.010068490169942379 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012034013867378235 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "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, + "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, + "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" + ], + "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.06848680227994919 + }, + "else": { + "operation": "boost", + "score": -0.1355312168598175 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06490684300661087 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11476095020771027 + }, + "else": { + "operation": "boost", + "score": 0.11259343475103378 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.08144339174032211 + }, + "else": { + "operation": "boost", + "score": -0.17066924273967743 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, + "then": { + "operation": "boost", + "score": -0.06851214915513992 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.056795209646224976 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.3574588894844055 + }, + "else": { + "operation": "boost", + "score": 0.13496606051921844 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1101665124297142 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05552336946129799 + } + }, + "else": { + "operation": "boost", + "score": -0.1741565316915512 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13433359563350677 + } + }, + "else": { + "operation": "boost", + "score": 0.0134063009172678 + } + }, + "else": { + "operation": "boost", + "score": 0.030827486887574196 + } + }, + "else": { + "operation": "boost", + "score": 0.09159459173679352 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014588617719709873 + } + } + } + } + } + } + } + } + }, + "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 + } + }, + "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.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, + "then": { + "operation": "boost", + "score": -0.05297933891415596 + }, + "else": { + "operation": "boost", + "score": 0.02748025953769684 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "boost", + "score": 0.014934000559151173 + }, + "else": { + "operation": "boost", + "score": 0.1122242733836174 + } + }, + "else": { + "operation": "boost", + "score": 0.023118793964385986 + } + }, + "else": { + "operation": "boost", + "score": 0.14692717790603638 + } + }, + "else": { + "operation": "boost", + "score": 0.06504504382610321 + } + }, + "else": { + "operation": "boost", + "score": 0.04047563672065735 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.042337968945503235 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04119609668850899 + }, + "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": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11614111065864563 + }, + "else": { + "operation": "boost", + "score": 0.12649349868297577 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.09880110621452332 + }, + "else": { + "operation": "boost", + "score": 0.12067973613739014 + } + }, + "else": { + "operation": "boost", + "score": -0.035391706973314285 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1356985718011856 + }, + "else": { + "operation": "boost", + "score": -0.18937234580516815 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13323360681533813 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0023902426473796368 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.022817177698016167 + }, + "else": { + "operation": "boost", + "score": -0.031510163098573685 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": -0.05659060925245285 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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, + "then": { + "operation": "boost", + "score": 0.057562507688999176 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15560226142406464 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02176123671233654 + }, + "else": { + "operation": "boost", + "score": 0.07575468719005585 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1081770658493042 + }, + "else": { + "operation": "boost", + "score": 0.11175160855054855 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06468545645475388 + } + } + } + } + }, + "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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.10627301037311554 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.010143082588911057 + }, + "else": { + "operation": "boost", + "score": 0.012666065245866776 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11433536559343338 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.06288018822669983 + }, + "else": { + "operation": "boost", + "score": -0.08462715148925781 + } + }, + "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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.005258532706648111 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040125712752342224 + }, + "else": { + "operation": "boost", + "score": 0.06709863245487213 + } + } + }, + "else": { + "operation": "boost", + "score": -0.036284368485212326 + } + }, + "else": { + "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": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07123547047376633 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10099571198225021 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10681256651878357 + }, + "else": { + "operation": "boost", + "score": 0.12539927661418915 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09484492987394333 + } + }, + "else": { + "operation": "boost", + "score": -0.07873723655939102 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 768345.5, + "then": { + "operation": "boost", + "score": 0.07220683246850967 + }, + "else": { + "operation": "boost", + "score": 0.040849585086107254 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7878.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11316.5, + "then": { + "operation": "boost", + "score": 0.0338212214410305 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.12439601868391037 + }, + "else": { + "operation": "boost", + "score": 0.2538878619670868 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09010980278253555 + }, + "else": { + "operation": "boost", + "score": -0.2734927535057068 + } + }, + "else": { + "operation": "boost", + "score": -0.009646227583289146 + } + }, + "else": { + "operation": "boost", + "score": 0.023480981588363647 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.261902391910553 + }, + "else": { + "operation": "boost", + "score": -0.0908300057053566 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01941639371216297 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167779.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00857468880712986 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02613145112991333 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12384183704853058 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10210461169481277 + }, + "else": { + "operation": "boost", + "score": 0.10888010263442993 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07146474719047546 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09370057284832001 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.027370067313313484 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273152.0, + "then": { + "operation": "boost", + "score": 0.054192814975976944 + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06612896174192429 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04989539831876755 + } + }, + "else": { + "operation": "boost", + "score": 0.016006436198949814 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.007929841987788677 + }, + "else": { + "operation": "boost", + "score": -0.020088477060198784 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01347375474870205 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010525349527597427 + }, + "else": { + "operation": "boost", + "score": 0.0006591370911337435 + } + }, + "else": { + "operation": "boost", + "score": -0.11686401814222336 + } + } + } + } + } + } + } + }, + "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", + "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.07587820291519165 + }, + "else": { + "operation": "boost", + "score": 0.025312703102827072 + } + }, + "else": { + "operation": "boost", + "score": -0.0049289255402982235 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16609708964824677 + }, + "else": { + "operation": "boost", + "score": -0.18018928170204163 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1519830822944641 + }, + "else": { + "operation": "boost", + "score": 0.019061770290136337 + } + }, + "else": { + "operation": "boost", + "score": -0.002505512675270438 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.0030987448990345 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50014.5, + "then": { + "operation": "boost", + "score": -0.12655438482761383 + }, + "else": { + "operation": "boost", + "score": 0.01581122912466526 + } + }, + "else": { + "operation": "boost", + "score": -0.06833923608064651 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008725781925022602 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.03913332149386406 + }, + "else": { + "operation": "boost", + "score": 0.011422001756727695 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11617308855056763 + }, + "else": { + "operation": "boost", + "score": 0.1225474551320076 + } + }, + "else": { + "operation": "boost", + "score": 0.0717308446764946 + } + }, + "else": { + "operation": "boost", + "score": 0.032964617013931274 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.33427518606185913 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10454332828521729 + }, + "else": { + "operation": "boost", + "score": 0.12471825629472733 + } + } + }, + "else": { + "operation": "boost", + "score": -0.037607572972774506 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024648210033774376 + } + }, + "else": { + "operation": "boost", + "score": -0.06649154424667358 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00908611062914133 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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": 288.0, + "then": { + "operation": "boost", + "score": 0.14165417850017548 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13261212408542633 + }, + "else": { + "operation": "boost", + "score": -0.30411961674690247 + } + } + }, + "else": { + "operation": "boost", + "score": 0.18486277759075165 + } + }, + "else": { + "operation": "boost", + "score": 0.07844231277704239 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.05535291135311127 + }, + "else": { + "operation": "boost", + "score": -0.06492596119642258 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 495.5, + "then": { + "operation": "boost", + "score": 0.0498235821723938 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 455.5, + "then": { + "operation": "boost", + "score": 0.11298661679029465 + }, + "else": { + "operation": "boost", + "score": 0.04080550745129585 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5281.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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.04117586836218834 + }, + "else": { + "operation": "boost", + "score": 0.09484487771987915 + } + }, + "else": { + "operation": "boost", + "score": -0.04755847156047821 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01588280498981476 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "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": 14181.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": 33610.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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": 68345.0, + "then": { + "operation": "boost", + "score": 0.07518992573022842 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1253676861524582 + }, + "else": { + "operation": "boost", + "score": 0.1344972401857376 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08618506044149399 + } + }, + "else": { + "operation": "boost", + "score": 0.04525521770119667 + } + }, + "else": { + "operation": "boost", + "score": 0.04045647755265236 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25411.0, + "then": { + "operation": "boost", + "score": -0.07006628066301346 + }, + "else": { + "operation": "boost", + "score": 0.002863551490008831 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "boost", + "score": -0.002800491638481617 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18672.5, + "then": { + "operation": "boost", + "score": 0.09328069537878036 + }, + "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, + "then": { + "operation": "boost", + "score": -0.013197535648941994 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18160.0, + "then": { + "operation": "boost", + "score": 0.11221695691347122 + }, + "else": { + "operation": "boost", + "score": 0.04954936355352402 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05726264417171478 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24944.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.09733754396438599 + }, + "else": { + "operation": "boost", + "score": -1.0149847269058228 + } + }, + "else": { + "operation": "boost", + "score": -0.1072838306427002 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12855.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10970960557460785 + }, + "else": { + "operation": "boost", + "score": 0.11013121157884598 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12004279345273972 + }, + "else": { + "operation": "boost", + "score": 0.10299962759017944 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06583133339881897 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6055.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6101.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10810.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0174809992313385 + }, + "else": { + "operation": "boost", + "score": 0.12466681003570557 + } + }, + "else": { + "operation": "boost", + "score": -0.08014532923698425 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10415.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11346526443958282 + }, + "else": { + "operation": "boost", + "score": 0.09941588342189789 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.114461250603199 + } + }, + "else": { + "operation": "boost", + "score": 0.05251679569482803 + } + }, + "else": { + "operation": "boost", + "score": -1.437218189239502 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13944.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10189146548509598 + }, + "else": { + "operation": "boost", + "score": 0.10289263725280762 + } + }, + "else": { + "operation": "boost", + "score": 0.05901322513818741 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11713826656341553 + } + }, + "else": { + "operation": "boost", + "score": 0.030316682532429695 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001742138876579702 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 560.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0368635430932045 + }, + "else": { + "operation": "boost", + "score": 0.15986862778663635 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03400416672229767 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.11370139569044113 + }, + "else": { + "operation": "boost", + "score": 0.07604583352804184 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.029004402458667755 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0027199420146644115 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 23.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01544764544814825 + }, + "else": { + "operation": "boost", + "score": 0.007921098731458187 + } + }, + "else": { + "operation": "boost", + "score": -0.01546368096023798 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.017280621454119682 + }, + "else": { + "operation": "boost", + "score": -0.042143113911151886 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": 0.08406486362218857 + }, + "else": { + "operation": "boost", + "score": 0.06660231947898865 + } + }, + "else": { + "operation": "boost", + "score": 0.05115648731589317 + } + }, + "else": { + "operation": "boost", + "score": 0.03194956108927727 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.046707410365343094 + }, + "else": { + "operation": "boost", + "score": 0.0020378907211124897 + } + }, + "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 + } + } + } + } + } + } + }, + { + "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": { + "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.055365197360515594 + }, + "else": { + "operation": "boost", + "score": 0.10979042202234268 + } + }, + "else": { + "operation": "boost", + "score": 0.010751128196716309 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3166.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0584104023873806 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7110.5, + "then": { + "operation": "boost", + "score": 0.10277233272790909 + }, + "else": { + "operation": "boost", + "score": 0.09437299519777298 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.21816116571426392 + }, + "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": "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 + } + }, + "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.1008104532957077 + }, + "else": { + "operation": "boost", + "score": 0.11650873720645905 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.05577710643410683 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1011265367269516 + }, + "else": { + "operation": "boost", + "score": -0.18199941515922546 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.024763863533735275 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.027114907279610634 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09761742502450943 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.11077670753002167 + }, + "else": { + "operation": "boost", + "score": -0.048764534294605255 + } + }, + "else": { + "operation": "boost", + "score": 0.12462858110666275 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013005302287638187 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "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, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07420844584703445 + }, + "else": { + "operation": "boost", + "score": -1.675640305620618e-05 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.07021824270486832 + }, + "else": { + "operation": "boost", + "score": 0.01245715469121933 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -2.0104864233871922e-05 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008712809532880783 + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05040774121880531 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.16361050307750702 + }, + "else": { + "operation": "boost", + "score": 0.10490462929010391 + } + }, + "else": { + "operation": "boost", + "score": 0.04607094079256058 + } + }, + "else": { + "operation": "boost", + "score": -0.07228367775678635 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03131856769323349 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.023393750190734863 + }, + "else": { + "operation": "boost", + "score": 0.004021270666271448 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005918899085372686 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07866512984037399 + }, + "else": { + "operation": "boost", + "score": 0.013878436759114265 + } + }, + "else": { + "operation": "boost", + "score": -0.0875052958726883 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04601967707276344 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11727001518011093 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004823131486773491 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.045150283724069595 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.07967983931303024 + }, + "else": { + "operation": "boost", + "score": -0.10923513025045395 + } + } + }, + "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.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05278607830405235 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28225.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10735121369361877 + }, + "else": { + "operation": "boost", + "score": -0.010493648238480091 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10263888537883759 + }, + "else": { + "operation": "boost", + "score": 0.000931141315959394 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82455.5, + "then": { + "operation": "boost", + "score": -0.20853525400161743 + }, + "else": { + "operation": "boost", + "score": 0.009493994526565075 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04674219340085983 + } + }, + "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.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 + } + }, + "else": { + "operation": "boost", + "score": -0.011856607161462307 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08770910650491714 + }, + "else": { + "operation": "boost", + "score": 0.01909269392490387 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07312857359647751 + }, + "else": { + "operation": "boost", + "score": 0.08775657415390015 + } + }, + "else": { + "operation": "boost", + "score": 0.05608701333403587 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14717385172843933 + } + } + }, + "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", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009891904890537262 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06580476462841034 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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, + "then": { + "operation": "boost", + "score": -0.0009159179753623903 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14175507426261902 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08101535588502884 + } + }, + "else": { + "operation": "boost", + "score": 0.08037293702363968 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.014364561066031456 + }, + "else": { + "operation": "boost", + "score": 0.0779157280921936 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01638711988925934 + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.10577607154846191 + }, + "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": "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": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": -0.023786675184965134 + }, + "else": { + "operation": "boost", + "score": -0.23272168636322021 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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": 19.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0452551543712616 + }, + "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 + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.023998642340302467 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05863862484693527 + }, + "else": { + "operation": "boost", + "score": 0.06672707945108414 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18715.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04479234665632248 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08456109464168549 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11977824568748474 + }, + "else": { + "operation": "boost", + "score": 0.10555430501699448 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.02027963474392891 + }, + "else": { + "operation": "boost", + "score": 0.015587177127599716 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.024006173014640808 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.000415443122619763 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04302443191409111 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1282534897327423 + }, + "else": { + "operation": "boost", + "score": -0.11550538241863251 + } + }, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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.06482494622468948 + }, + "else": { + "operation": "boost", + "score": 0.10295075923204422 + } + }, + "else": { + "operation": "boost", + "score": 0.028978513553738594 + } + }, + "else": { + "operation": "boost", + "score": -0.037959128618240356 + } + }, + "else": { + "operation": "boost", + "score": -0.02707875333726406 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.042410947382450104 + } + } + }, + "else": { + "operation": "boost", + "score": -0.031170470640063286 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07225943356752396 + }, + "else": { + "operation": "boost", + "score": 0.019751068204641342 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.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", + "set": [ + "CCC_TopLevel" + ], + "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, + "then": { + "operation": "boost", + "score": 0.06890954077243805 + }, + "else": { + "operation": "boost", + "score": 0.08631971478462219 + } + }, + "else": { + "operation": "boost", + "score": 0.04948004335165024 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.016918402165174484 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06278662383556366 + }, + "else": { + "operation": "boost", + "score": 0.07164609432220459 + } + }, + "else": { + "operation": "boost", + "score": -0.27106189727783203 + } + }, + "else": { + "operation": "boost", + "score": 0.04790361598134041 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011132033541798592 + } + }, + "else": { + "operation": "boost", + "score": 0.10580284893512726 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2447209507226944 + }, + "else": { + "operation": "boost", + "score": -0.4632927179336548 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, + "then": { + "operation": "boost", + "score": 0.09841705858707428 + }, + "else": { + "operation": "boost", + "score": 0.11801572889089584 + } + }, + "else": { + "operation": "boost", + "score": 0.3508569896221161 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06240832060575485 + } + }, + "else": { + "operation": "boost", + "score": 0.03342515975236893 + } + }, + "else": { + "operation": "boost", + "score": 0.10995597392320633 + } + } + }, + "else": { + "operation": "boost", + "score": 0.041845522820949554 + } + }, + "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": 62.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03095139190554619 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.00858989916741848 + }, + "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": 135.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 409.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06273262202739716 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.116683728992939 + }, + "else": { + "operation": "boost", + "score": 0.09450040757656097 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05426938459277153 + } + }, + "else": { + "operation": "boost", + "score": 0.07107143849134445 + } + }, + "else": { + "operation": "boost", + "score": 0.06830830127000809 + } + }, + "else": { + "operation": "boost", + "score": -0.01371056865900755 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "operation": "boost", + "score": 0.04139203578233719 + }, + "else": { + "operation": "boost", + "score": 0.015822086483240128 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.06809554249048233 + }, + "else": { + "operation": "boost", + "score": 0.009949804283678532 + } + }, + "else": { + "operation": "boost", + "score": -0.010557033121585846 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00597014557570219 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.015593133866786957 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "boost", + "score": 0.042940616607666016 + }, + "else": { + "operation": "boost", + "score": -0.06251554191112518 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012528588064014912 + } + } + } + } + } + } + }, + { + "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" + ], + "then": { + "operation": "boost", + "score": 0.021665342152118683 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 594.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16649.0, + "then": { + "operation": "boost", + "score": -0.04235466569662094 + }, + "else": { + "operation": "boost", + "score": 0.05681317672133446 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.009193711914122105 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007394708227366209 + } + } + } + }, + "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.018839918076992035 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": 0.022237151861190796 + }, + "else": { + "operation": "boost", + "score": 0.08186940848827362 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49723.5, + "then": { + "operation": "boost", + "score": -0.11416339874267578 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14737862348556519 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0038208127953112125 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4063.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13582.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 337965.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0833214819431305 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10735158622264862 + }, + "else": { + "operation": "boost", + "score": 0.07163992524147034 + } + } + }, + "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.0059435684233903885 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13324.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10933265089988708 + }, + "else": { + "operation": "boost", + "score": 0.10361474007368088 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7143.0, + "then": { + "operation": "boost", + "score": 0.052440933883190155 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.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, + "then": { + "operation": "boost", + "score": 0.10371502488851547 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7635.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8440.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8187.0, + "then": { + "operation": "boost", + "score": 0.11558394879102707 + }, + "else": { + "operation": "boost", + "score": 0.09460335224866867 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07881200313568115 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6799.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6931.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 + } + }, + "else": { + "operation": "boost", + "score": 0.11167776584625244 + } + }, + "else": { + "operation": "boost", + "score": -0.1185031309723854 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05528903752565384 + } + }, + "else": { + "operation": "boost", + "score": 0.031609997153282166 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.13139721751213074 + }, + "else": { + "operation": "boost", + "score": 0.1481933891773224 + } + } + }, + "else": { + "operation": "boost", + "score": -0.666950523853302 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12329576164484024 + }, + "else": { + "operation": "boost", + "score": 0.08096009492874146 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4105.0, + "then": { + "operation": "boost", + "score": 0.06570769846439362 + }, + "else": { + "operation": "boost", + "score": 0.10059666633605957 + } + }, + "else": { + "operation": "boost", + "score": 0.028433673083782196 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.0504194051027298 + }, + "else": { + "operation": "boost", + "score": 0.04194983094930649 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1000.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.05836154893040657 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05258883535861969 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1412.5, + "then": { + "operation": "boost", + "score": 0.07752158492803574 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1236.5, + "then": { + "operation": "boost", + "score": 0.11078456044197083 + }, + "else": { + "operation": "boost", + "score": 0.12278332561254501 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0678216814994812 + }, + "else": { + "operation": "boost", + "score": 0.049216631799936295 + } + }, + "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": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.056924864649772644 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06698057055473328 + }, + "else": { + "operation": "boost", + "score": 0.025334106758236885 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.008174097165465355 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015603997744619846 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 503.0, + "then": { + "operation": "boost", + "score": 0.07053765654563904 + }, + "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, + "then": { + "operation": "boost", + "score": 0.12282266467809677 + }, + "else": { + "operation": "boost", + "score": 0.07975032180547714 + } + }, + "else": { + "operation": "boost", + "score": -0.04960218071937561 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06405617296695709 + }, + "else": { + "operation": "boost", + "score": 0.011954947374761105 + } + }, + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05540456250309944 + }, + "else": { + "operation": "boost", + "score": -0.0431489534676075 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005627215839922428 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.050731029361486435 + }, + "else": { + "operation": "boost", + "score": -0.0013564835535362363 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04392886906862259 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.027662521228194237 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.014774339273571968 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.1444927603006363 + }, + "else": { + "operation": "boost", + "score": 0.0327194444835186 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.00910708773881197 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12207574397325516 + }, + "else": { + "operation": "boost", + "score": 0.11141052097082138 + } + } + } + } + } + } + } + } + } + } + } + }, + { + "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_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.15109668672084808 + }, + "else": { + "operation": "boost", + "score": -0.14109815657138824 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029595548287034035 + }, + "else": { + "operation": "boost", + "score": 0.004930727183818817 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.057852257043123245 + }, + "else": { + "operation": "boost", + "score": 0.01141208317130804 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.0076864855363965034 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0023772954009473324 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011760136112570763 + } + }, + "else": { + "operation": "boost", + "score": 0.02382338047027588 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.014136077836155891 + }, + "else": { + "operation": "boost", + "score": -0.06493932753801346 + } + }, + "else": { + "operation": "boost", + "score": -0.16966724395751953 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03468697890639305 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07458092272281647 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12791098654270172 + }, + "else": { + "operation": "boost", + "score": 0.08824238181114197 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013237114995718002 + } + } + }, + "else": { + "operation": "boost", + "score": 0.025500690564513206 + } + }, + "else": { + "operation": "boost", + "score": 0.004779530223459005 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06635097414255142 + }, + "else": { + "operation": "boost", + "score": 0.04858088493347168 + } + } + }, + "else": { + "operation": "boost", + "score": -0.054720208048820496 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.02688702382147312 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05373759567737579 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.07004250586032867 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12492474168539047 + }, + "else": { + "operation": "boost", + "score": 0.12219167500734329 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05726344883441925 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195234.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.008072626776993275 + }, + "else": { + "operation": "boost", + "score": 0.06879669427871704 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08334427326917648 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "boost", + "score": -0.1323680877685547 + }, + "else": { + "operation": "boost", + "score": 0.005505116656422615 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09258436411619186 + } + } + }, + "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.02633817307651043 + }, + "else": { + "operation": "boost", + "score": 0.010148582980036736 + } + }, + "else": { + "operation": "boost", + "score": -0.03593692556023598 + } + } + } + } + } + }, + "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, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018370503559708595 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1343754678964615 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08612150698900223 + }, + "else": { + "operation": "boost", + "score": -0.09474653005599976 + } + }, + "else": { + "operation": "boost", + "score": 0.05508701503276825 + } + } + } + } + }, + "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.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_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.0554184727370739 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.019641561433672905 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10765254497528076 + }, + "else": { + "operation": "boost", + "score": 0.1339217573404312 + } + }, + "else": { + "operation": "boost", + "score": 0.09084757417440414 + } + }, + "else": { + "operation": "boost", + "score": 0.1279313564300537 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.4184548556804657 + }, + "else": { + "operation": "boost", + "score": 0.08003352582454681 + } + }, + "else": { + "operation": "boost", + "score": -1.4292539358139038 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.08019313216209412 + }, + "else": { + "operation": "boost", + "score": 0.10656090080738068 + } + }, + "else": { + "operation": "boost", + "score": -3.8600621223449707 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003938669338822365 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_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.06291311979293823 + }, + "else": { + "operation": "boost", + "score": -0.12376780807971954 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.12768518924713135 + }, + "else": { + "operation": "boost", + "score": 0.09324564039707184 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.050229594111442566 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.1087922528386116 + }, + "else": { + "operation": "boost", + "score": 0.09302221238613129 + } + } + }, + "else": { + "operation": "boost", + "score": -0.27445316314697266 + } + } + } + }, + "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.09308301657438278 + }, + "else": { + "operation": "boost", + "score": -0.00128054094966501 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.10842077434062958 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.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 + } + } + }, + "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.08493255823850632 + }, + "else": { + "operation": "boost", + "score": -0.2904284596443176 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06147068738937378 + }, + "else": { + "operation": "boost", + "score": 0.06350914388895035 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08477723598480225 + }, + "else": { + "operation": "boost", + "score": 0.10975336283445358 + } + }, + "else": { + "operation": "boost", + "score": -0.04338174685835838 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, + "then": { + "operation": "boost", + "score": -0.061234038323163986 + }, + "else": { + "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_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.007653756532818079 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08766823261976242 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016625985503196716 + } + }, + "else": { + "operation": "boost", + "score": -0.05338647961616516 + } + }, + "else": { + "operation": "boost", + "score": 0.013202195055782795 + } + } + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030748704448342323 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.06955838203430176 + }, + "else": { + "operation": "boost", + "score": -0.031109854578971863 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0016215218929573894 + } + }, + "else": { + "operation": "boost", + "score": -0.051108866930007935 + } + }, + "else": { + "operation": "boost", + "score": 0.007120905909687281 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": 0.016301078721880913 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.06066758558154106 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114453.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131140.0, + "then": { + "operation": "boost", + "score": 0.04012663662433624 + }, + "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.07752405852079391 + }, + "else": { + "operation": "boost", + "score": 0.11564977467060089 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.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": 592.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 597.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5540.0, + "then": { + "operation": "boost", + "score": 0.0590636283159256 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5301.0, + "then": { + "operation": "boost", + "score": 0.17665326595306396 + }, + "else": { + "operation": "boost", + "score": 0.10289721935987473 + } + } + }, + "else": { + "operation": "boost", + "score": 0.108578160405159 + } + }, + "else": { + "operation": "boost", + "score": 0.08098765462636948 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10768400877714157 + }, + "else": { + "operation": "boost", + "score": 0.11167050898075104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.00037334751687012613 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10007000714540482 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.07610554248094559 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "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 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07021273672580719 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.03776804730296135 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": -0.00956519041210413 + }, + "else": { + "operation": "boost", + "score": 0.11426486074924469 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.07937340438365936 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.07726897299289703 + }, + "else": { + "operation": "boost", + "score": -0.002055673161521554 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.003413983155041933 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.10998744517564774 + }, + "else": { + "operation": "boost", + "score": 0.11735409498214722 + } + }, + "else": { + "operation": "boost", + "score": -0.11728659272193909 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015683600679039955 + }, + "else": { + "operation": "boost", + "score": 0.04719073325395584 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01870585046708584 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4161.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4281.5, + "then": { + "operation": "boost", + "score": 0.04039381444454193 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4246.0, + "then": { + "operation": "boost", + "score": 0.12608672678470612 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10654700547456741 + }, + "else": { + "operation": "boost", + "score": -0.06447812169790268 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02288164757192135 + } + }, + "else": { + "operation": "boost", + "score": 0.0027009318582713604 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": -0.1144498959183693 + }, + "else": { + "operation": "boost", + "score": 0.011401397176086903 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0018443746957927942 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.07253392785787582 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030801022425293922 + }, + "else": { + "operation": "boost", + "score": 0.006494302302598953 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028488239273428917 + } + }, + "else": { + "operation": "boost", + "score": 0.0097625982016325 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.002390791429206729 + }, + "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 + } + } + }, + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004117896780371666 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.07672133296728134 + }, + "else": { + "operation": "boost", + "score": -0.2479560375213623 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.016300704330205917 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.3379516303539276 + }, + "else": { + "operation": "boost", + "score": 0.1426679790019989 + } + }, + "else": { + "operation": "boost", + "score": -0.5149834752082825 + } + }, + "else": { + "operation": "boost", + "score": -0.19523632526397705 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.051692988723516464 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3103.5, + "then": { + "operation": "boost", + "score": 0.12327545136213303 + }, + "else": { + "operation": "boost", + "score": 0.19341664016246796 + } + }, + "else": { + "operation": "boost", + "score": -0.10088418424129486 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03227841481566429 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1230408176779747 + }, + "else": { + "operation": "boost", + "score": 0.00038799704634584486 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91652.0, + "then": { + "operation": "boost", + "score": -0.177010640501976 + }, + "else": { + "operation": "boost", + "score": 0.00048247791710309684 + } + } + } + }, + "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": "NumReferences", + "threshold": 166.5, + "then": { + "operation": "boost", + "score": -0.08901121467351913 + }, + "else": { + "operation": "boost", + "score": 0.003270645858719945 + } + }, + "else": { + "operation": "boost", + "score": -0.29523247480392456 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09699636697769165 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09181911498308182 + }, + "else": { + "operation": "boost", + "score": -0.23080703616142273 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03557930141687393 + } + }, + "else": { + "operation": "boost", + "score": 0.010771257802844048 + } + }, + "else": { + "operation": "boost", + "score": -0.008652374148368835 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09217959642410278 + } + } + }, + { + "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": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.008910191245377064 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18951.5, + "then": { + "operation": "boost", + "score": 0.10860571265220642 + }, + "else": { + "operation": "boost", + "score": -0.030430475249886513 + } + }, + "else": { + "operation": "boost", + "score": 0.11593375355005264 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.06926509737968445 + }, + "else": { + "operation": "boost", + "score": 0.05130491033196449 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153.0, + "then": { + "operation": "boost", + "score": 0.008633581921458244 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.0, + "then": { + "operation": "boost", + "score": 0.12554211914539337 + }, + "else": { + "operation": "boost", + "score": -0.10338419675827026 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1998.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02961399219930172 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.0, + "then": { + "operation": "boost", + "score": 0.10878834873437881 + }, + "else": { + "operation": "boost", + "score": 0.11965949088335037 + } + }, + "else": { + "operation": "boost", + "score": 0.09704913944005966 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 604.0, + "then": { + "operation": "boost", + "score": 0.07229983806610107 + }, + "else": { + "operation": "boost", + "score": 0.11758541315793991 + } + }, + "else": { + "operation": "boost", + "score": 0.08156204223632812 + } + } + } + }, + "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": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.11005111783742905 + }, + "else": { + "operation": "boost", + "score": 0.09040279686450958 + } + }, + "else": { + "operation": "boost", + "score": 0.0269383043050766 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07793456315994263 + }, + "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.019071919843554497 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.16485445201396942 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1196424812078476 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.06991339474916458 + }, + "else": { + "operation": "boost", + "score": 0.024865807965397835 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.10328365862369537 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.23520790040493011 + }, + "else": { + "operation": "boost", + "score": 0.07240542769432068 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 381517.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.06667441874742508 + }, + "else": { + "operation": "boost", + "score": 0.09726843982934952 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1237754076719284 + }, + "else": { + "operation": "boost", + "score": 0.08376041799783707 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04593341797590256 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.014358249492943287 + }, + "else": { + "operation": "boost", + "score": 0.11538106203079224 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06414777040481567 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357084.0, + "then": { + "operation": "boost", + "score": 0.09167733043432236 + }, + "else": { + "operation": "boost", + "score": 0.018134620040655136 + } + }, + "else": { + "operation": "boost", + "score": -0.015176388435065746 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.040743593126535416 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "boost", + "score": 0.08278222382068634 + }, + "else": { + "operation": "boost", + "score": 0.058293841779232025 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026025526225566864 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.03282283619046211 + }, + "else": { + "operation": "boost", + "score": -0.03224944695830345 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "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" + ], + "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_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1028674840927124 + }, + "else": { + "operation": "boost", + "score": -0.07591895759105682 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09748350828886032 + }, + "else": { + "operation": "boost", + "score": 0.022102950140833855 + } + }, + "else": { + "operation": "boost", + "score": -0.007845276966691017 + } + } + } + } + }, + "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.18091948330402374 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.02053026482462883 + }, + "else": { + "operation": "boost", + "score": -0.16058872640132904 + } + } + }, + "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.05395743250846863 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010366978123784065 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.04769309237599373 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07600991427898407 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.10582199692726135 + }, + "else": { + "operation": "boost", + "score": 0.08408693224191666 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0071949162520468235 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07783478498458862 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.14046922326087952 + }, + "else": { + "operation": "boost", + "score": 0.15731890499591827 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10151369869709015 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10810499638319016 + } + }, + "else": { + "operation": "boost", + "score": -0.17678479850292206 + } + }, + "else": { + "operation": "boost", + "score": -0.005458406172692776 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": -0.05772363394498825 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1316484957933426 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013489516451954842 + } + } + } + } + } + } + } + }, + "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" + ], + "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.13424241542816162 + }, + "else": { + "operation": "boost", + "score": 0.13019083440303802 + } + }, + "else": { + "operation": "boost", + "score": -0.06497548520565033 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10900753736495972 + }, + "else": { + "operation": "boost", + "score": 0.08612662553787231 + } + }, + "else": { + "operation": "boost", + "score": 0.025326643139123917 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07607252895832062 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.15399335324764252 + }, + "else": { + "operation": "boost", + "score": 0.15080761909484863 + } + }, + "else": { + "operation": "boost", + "score": 0.24459052085876465 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10832516849040985 + }, + "else": { + "operation": "boost", + "score": 0.12224366515874863 + } + }, + "else": { + "operation": "boost", + "score": 0.11352065950632095 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1295587420463562 + }, + "else": { + "operation": "boost", + "score": 0.14060033857822418 + } + }, + "else": { + "operation": "boost", + "score": 0.1206134706735611 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.07653960585594177 + }, + "else": { + "operation": "boost", + "score": 0.011842535808682442 + } + }, + "else": { + "operation": "boost", + "score": -0.01653728261590004 + } + }, + "else": { + "operation": "boost", + "score": 0.10538074374198914 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.16752594709396362 + }, + "else": { + "operation": "boost", + "score": 0.0923682153224945 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108163.5, + "then": { + "operation": "boost", + "score": -0.12851662933826447 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag", + "CCC_Other" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0993233397603035 + } + }, + "else": { + "operation": "boost", + "score": 0.10285608470439911 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06287060678005219 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": -0.1717429757118225 + }, + "else": { + "operation": "boost", + "score": 0.06410698592662811 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14640140533447266 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.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": "boost", + "score": 0.05330229923129082 + }, + "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, + "then": { + "operation": "boost", + "score": -0.03164390102028847 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "boost", + "score": -0.06376466900110245 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12315098941326141 + }, + "else": { + "operation": "boost", + "score": 0.13460670411586761 + } + }, + "else": { + "operation": "boost", + "score": 0.16864657402038574 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.025064656510949135 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13858793675899506 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120524.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.0849861353635788 + }, + "else": { + "operation": "boost", + "score": 0.031023552641272545 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.08726935088634491 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10186965018510818 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10679216682910919 + }, + "else": { + "operation": "boost", + "score": 0.08655663579702377 + } + }, + "else": { + "operation": "boost", + "score": 0.01539891492575407 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91652.0, + "then": { + "operation": "boost", + "score": 0.1009436547756195 + }, + "else": { + "operation": "boost", + "score": 0.08099038898944855 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.06948396563529968 + }, + "else": { + "operation": "boost", + "score": 0.10046455264091492 + } + }, + "else": { + "operation": "boost", + "score": 0.014683989807963371 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05497485399246216 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02782720886170864 + } + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63357.5, + "then": { + "operation": "boost", + "score": 0.10192504525184631 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "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_ClassStructUnion", + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 183.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212.0, + "then": { + "operation": "boost", + "score": -0.2330339252948761 + }, + "else": { + "operation": "boost", + "score": 0.1187739297747612 + } + }, + "else": { + "operation": "boost", + "score": -0.052680060267448425 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.22862648963928223 + }, + "else": { + "operation": "boost", + "score": 0.12384192645549774 + } + } + }, + "else": { + "operation": "boost", + "score": 0.048719942569732666 + } + }, + "else": { + "operation": "boost", + "score": 0.06347756832838058 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008032203651964664 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25329.0, + "then": { + "operation": "boost", + "score": -0.315003365278244 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13728.5, + "then": { + "operation": "boost", + "score": 0.5000886917114258 + }, + "else": { + "operation": "boost", + "score": -0.12301038205623627 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.020238075405359268 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008221391588449478 + } + }, + "else": { + "operation": "boost", + "score": -0.027566956356167793 + } + }, + "else": { + "operation": "boost", + "score": -0.2041999101638794 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "boost", + "score": -0.17051243782043457 + }, + "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_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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02928401529788971 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.015131129883229733 + }, + "else": { + "operation": "boost", + "score": -0.01601496897637844 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017250265926122665 + } + }, + "else": { + "operation": "boost", + "score": -0.008147750049829483 + } + }, + "else": { + "operation": "boost", + "score": 0.005460433196276426 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006132760900072753 + } + } + } + }, + { + "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.08292193710803986 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07376469671726227 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": -0.04950135573744774 + }, + "else": { + "operation": "boost", + "score": 0.09832277148962021 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189140.5, + "then": { + "operation": "boost", + "score": 0.03152686357498169 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.1450520008802414 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": 0.219867542386055 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.11776315420866013 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.18177025020122528 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11405691504478455 + }, + "else": { + "operation": "boost", + "score": 0.12419875711202621 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12143866717815399 + }, + "else": { + "operation": "boost", + "score": 0.10294397920370102 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.11417733132839203 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.1330057680606842 + }, + "else": { + "operation": "boost", + "score": 0.11491669714450836 + } + }, + "else": { + "operation": "boost", + "score": 0.22760409116744995 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34634.5, + "then": { + "operation": "boost", + "score": -0.07400515675544739 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1977088749408722 + }, + "else": { + "operation": "boost", + "score": 0.10680244117975235 + } + } + } + }, + "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 + } + } + }, + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0463000051677227 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.026758307591080666 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09818276017904282 + }, + "else": { + "operation": "boost", + "score": 0.10364000499248505 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.029663177207112312 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.04494685307145119 + }, + "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", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1016920953989029 + } + }, + "else": { + "operation": "boost", + "score": -0.10852960497140884 + } + }, + "else": { + "operation": "boost", + "score": 0.008089117705821991 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": -0.03591590002179146 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.12850287556648254 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "boost", + "score": -0.007928816601634026 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09501131623983383 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1161331981420517 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12253249436616898 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12218843400478363 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102876.0, + "then": { + "operation": "boost", + "score": -0.15686985850334167 + }, + "else": { + "operation": "boost", + "score": 0.1339733749628067 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1185738816857338 + }, + "else": { + "operation": "boost", + "score": 0.07631519436836243 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010487433522939682 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03644714504480362 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "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": "boost", + "score": 0.013907385990023613 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.00963506381958723 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 684.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.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 + } + }, + "else": { + "operation": "boost", + "score": 0.08375123888254166 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06003425270318985 + } + }, + "else": { + "operation": "boost", + "score": -0.034923989325761795 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25815.0, + "then": { + "operation": "boost", + "score": -0.057594820857048035 + }, + "else": { + "operation": "boost", + "score": -0.5310086607933044 + } + }, + "else": { + "operation": "boost", + "score": 0.007484002970159054 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6103.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6106.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13324.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, + "then": { + "operation": "boost", + "score": 0.040559690445661545 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11100891977548599 + } + }, + "else": { + "operation": "boost", + "score": 0.03668130189180374 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020533690229058266 + } + }, + "else": { + "operation": "boost", + "score": -0.019210726022720337 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.0003494256816338748 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0449385829269886 + }, + "else": { + "operation": "boost", + "score": -0.037680599838495255 + } + }, + "else": { + "operation": "boost", + "score": -0.01211959682404995 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.05772007256746292 + }, + "else": { + "operation": "boost", + "score": 0.0077819786965847015 + } + }, + "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": "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.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", + "set": [ + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07561539113521576 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.6800010204315186 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10047265887260437 + }, + "else": { + "operation": "boost", + "score": 0.08976175636053085 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1133187934756279 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1241200640797615 + }, + "else": { + "operation": "boost", + "score": 0.11900723725557327 + } + }, + "else": { + "operation": "boost", + "score": 0.11742712557315826 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0006170321721583605 + }, + "else": { + "operation": "boost", + "score": 0.1059771478176117 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.032599300146102905 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0033633525017648935 + } + }, + "else": { + "operation": "boost", + "score": 0.058050598949193954 + } + }, + "else": { + "operation": "boost", + "score": -0.035308483988046646 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.16112560033798218 + }, + "else": { + "operation": "boost", + "score": 0.08498542010784149 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108163.5, + "then": { + "operation": "boost", + "score": -0.1135767325758934 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08819645643234253 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10994873195886612 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.12216327339410782 + }, + "else": { + "operation": "boost", + "score": 0.10381202399730682 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_UnionTag", + "CCC_Other" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.08900067955255508 + } + }, + "else": { + "operation": "boost", + "score": 0.1001376286149025 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14580680429935455 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.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": "boost", + "score": 0.04734008386731148 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.03739674389362335 + }, + "else": { + "operation": "boost", + "score": 0.09387146681547165 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03081233613193035 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "boost", + "score": -0.05799398198723793 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319997.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11498719453811646 + }, + "else": { + "operation": "boost", + "score": -0.2608858644962311 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11036890000104904 + }, + "else": { + "operation": "boost", + "score": 0.04357651621103287 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14038841426372528 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "boost", + "score": 0.06211195886135101 + }, + "else": { + "operation": "boost", + "score": -0.020396782085299492 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13079136610031128 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120524.0, + "then": { + "operation": "boost", + "score": 0.04890241473913193 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10048491507768631 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "boost", + "score": 0.082088902592659 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10557079315185547 + }, + "else": { + "operation": "boost", + "score": 0.08214832842350006 + } + }, + "else": { + "operation": "boost", + "score": 0.011455549858510494 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07291939109563828 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187158.0, + "then": { + "operation": "boost", + "score": 0.06094910204410553 + }, + "else": { + "operation": "boost", + "score": 0.020372239872813225 + } + } + }, + "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" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "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, + "then": { + "operation": "boost", + "score": 0.12034109979867935 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.10779932886362076 + }, + "else": { + "operation": "boost", + "score": 0.10407093912363052 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185218.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11401557922363281 + }, + "else": { + "operation": "boost", + "score": -0.10446760058403015 + } + }, + "else": { + "operation": "boost", + "score": -0.31612664461135864 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06501347571611404 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04685351625084877 + } + } + }, + "else": { + "operation": "boost", + "score": -0.025179550051689148 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012835274450480938 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63357.5, + "then": { + "operation": "boost", + "score": 0.10148858278989792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17171217501163483 + }, + "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": 57.0, + "then": { + "operation": "boost", + "score": -0.2735418677330017 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.1307174563407898 + }, + "else": { + "operation": "boost", + "score": 0.060239166021347046 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.25092318654060364 + }, + "else": { + "operation": "boost", + "score": 0.1178569421172142 + } + }, + "else": { + "operation": "boost", + "score": 0.26612743735313416 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.09857447445392609 + }, + "else": { + "operation": "boost", + "score": 0.6000896096229553 + } + }, + "else": { + "operation": "boost", + "score": 0.13001646101474762 + } + }, + "else": { + "operation": "boost", + "score": 0.09820814430713654 + } + }, + "else": { + "operation": "boost", + "score": 0.033713530749082565 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.052045851945877075 + }, + "else": { + "operation": "boost", + "score": -0.05085812509059906 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0424734503030777 + } + }, + "else": { + "operation": "boost", + "score": -0.001160724670626223 + } + }, + "else": { + "operation": "boost", + "score": -0.026603609323501587 + } + } + }, + "else": { + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13823.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73859.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10913050174713135 + }, + "else": { + "operation": "boost", + "score": 0.06206837296485901 + } + }, + "else": { + "operation": "boost", + "score": -0.026280097663402557 + } + }, + "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": 827.5, + "then": { + "operation": "boost", + "score": 0.04107357934117317 + }, + "else": { + "operation": "boost", + "score": 0.12794028222560883 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.022069739177823067 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.015135403722524643 + }, + "else": { + "operation": "boost", + "score": -0.0989873856306076 + } + }, + "else": { + "operation": "boost", + "score": 0.004954850766807795 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01464130636304617 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00497750798240304 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04426490142941475 + }, + "else": { + "operation": "boost", + "score": 0.04217652976512909 + } + }, + "else": { + "operation": "boost", + "score": 0.02178065851330757 + } + }, + "else": { + "operation": "boost", + "score": -0.008733007125556469 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 182.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 223.0, + "then": { + "operation": "boost", + "score": -0.2365391105413437 + }, + "else": { + "operation": "boost", + "score": 0.11194669455289841 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.005748115014284849 + }, + "else": { + "operation": "boost", + "score": -0.13711540400981903 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01310097798705101 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.014969218522310257 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09680759906768799 + }, + "else": { + "operation": "boost", + "score": -0.18205825984477997 + } + }, + "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": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5942.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11202383786439896 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "boost", + "score": 0.07748635113239288 + }, + "else": { + "operation": "boost", + "score": 0.12613530457019806 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12990.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.030913744121789932 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08089178055524826 + }, + "else": { + "operation": "boost", + "score": 0.11461962759494781 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02244753949344158 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1315809041261673 + }, + "else": { + "operation": "boost", + "score": 0.13175009191036224 + } + }, + "else": { + "operation": "boost", + "score": 0.08727236837148666 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0740448385477066 + }, + "else": { + "operation": "boost", + "score": 0.11452047526836395 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05136526748538017 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6676.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_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, + "then": { + "operation": "boost", + "score": 0.11396492272615433 + }, + "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, + "then": { + "operation": "boost", + "score": 0.06285275518894196 + }, + "else": { + "operation": "boost", + "score": 0.1305369734764099 + } + }, + "else": { + "operation": "boost", + "score": 0.08730117976665497 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4583.0, + "then": { + "operation": "boost", + "score": 0.028679033741354942 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4556.0, + "then": { + "operation": "boost", + "score": 0.11350025236606598 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.108126699924469 + }, + "else": { + "operation": "boost", + "score": -1.3248594999313354 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4579.0, + "then": { + "operation": "boost", + "score": 0.1069343164563179 + }, + "else": { + "operation": "boost", + "score": 0.05554588511586189 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, + "then": { + "operation": "boost", + "score": -0.5747200846672058 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10915471613407135 + }, + "else": { + "operation": "boost", + "score": 0.08512235432863235 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187.5, + "then": { + "operation": "boost", + "score": -0.10595986247062683 + }, + "else": { + "operation": "boost", + "score": 0.12028998136520386 + } + }, + "else": { + "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": "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01782207190990448 + } + }, + "else": { + "operation": "boost", + "score": -0.03754744678735733 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02942642569541931 + } + } + } + } + } + }, + "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": { + "operation": "boost", + "score": 0.035475559532642365 + }, + "else": { + "operation": "boost", + "score": -0.20464041829109192 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.002894254168495536 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.42869967222213745 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11852523684501648 + }, + "else": { + "operation": "boost", + "score": 0.16352713108062744 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012932213954627514 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00022260572586674243 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.03328957036137581 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.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": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.5, + "then": { + "operation": "boost", + "score": 0.09601039439439774 + }, + "else": { + "operation": "boost", + "score": 0.11369919776916504 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.08626939356327057 + }, + "else": { + "operation": "boost", + "score": 0.05847078189253807 + } + }, + "else": { + "operation": "boost", + "score": 0.001587455510161817 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03452785313129425 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.049660224467515945 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.13841380178928375 + }, + "else": { + "operation": "boost", + "score": 0.02797236666083336 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04271858558058739 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.02127016894519329 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0006619751802645624 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.05100956931710243 + }, + "else": { + "operation": "boost", + "score": -0.004171981010586023 + } + }, + "else": { + "operation": "boost", + "score": 0.009832662530243397 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10046663880348206 + }, + "else": { + "operation": "boost", + "score": 0.08629211783409119 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.12628009915351868 + }, + "else": { + "operation": "boost", + "score": 0.1323624700307846 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.01124574989080429 + }, + "else": { + "operation": "boost", + "score": 0.12646134197711945 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11187401413917542 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12017643451690674 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.09276504814624786 + }, + "else": { + "operation": "boost", + "score": 0.11541647464036942 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": 0.023355651646852493 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.10794471949338913 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12998628616333008 + }, + "else": { + "operation": "boost", + "score": 0.11392839252948761 + } + }, + "else": { + "operation": "boost", + "score": 0.1989864856004715 + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08804907649755478 + }, + "else": { + "operation": "boost", + "score": 0.15641412138938904 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07417228072881699 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12811879813671112 + }, + "else": { + "operation": "boost", + "score": 0.07449038326740265 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04660652577877045 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59716.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03764437139034271 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03921778127551079 + }, + "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", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.06570691615343094 + }, + "else": { + "operation": "boost", + "score": -0.10321085155010223 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09454987198114395 + }, + "else": { + "operation": "boost", + "score": -0.0941210389137268 + } + }, + "else": { + "operation": "boost", + "score": 0.004714436363428831 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01039993204176426 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.01749132014811039 + }, + "else": { + "operation": "boost", + "score": -0.05476447939872742 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13823.0, + "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" + ], + "then": { + "operation": "boost", + "score": 0.005503486841917038 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13744.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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1352282464504242 + }, + "else": { + "operation": "boost", + "score": -0.042917706072330475 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1357114464044571 + }, + "else": { + "operation": "boost", + "score": 0.2136186808347702 + } + }, + "else": { + "operation": "boost", + "score": -0.041627172380685806 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.0, + "then": { + "operation": "boost", + "score": 0.10822708159685135 + }, + "else": { + "operation": "boost", + "score": 0.025142405182123184 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.17341136932373047 + }, + "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 + } + } + }, + "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 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.042657818645238876 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350.5, + "then": { + "operation": "boost", + "score": 0.09353335201740265 + }, + "else": { + "operation": "boost", + "score": -0.563229501247406 + } + }, + "else": { + "operation": "boost", + "score": 0.09600786864757538 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22788889706134796 + }, + "else": { + "operation": "boost", + "score": -0.10152175277471542 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -1.3166000843048096 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09996096044778824 + }, + "else": { + "operation": "boost", + "score": 0.06727148592472076 + } + } + } + } + } + }, + "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.03144121542572975 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03966234624385834 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09738113731145859 + }, + "else": { + "operation": "boost", + "score": 0.02137068659067154 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05610748752951622 + }, + "else": { + "operation": "boost", + "score": 0.025021011009812355 + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06738243252038956 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5722317099571228 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10042185336351395 + }, + "else": { + "operation": "boost", + "score": 0.08458399772644043 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": -0.3978971242904663 + }, + "else": { + "operation": "boost", + "score": 0.1111026331782341 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.11912527680397034 + }, + "else": { + "operation": "boost", + "score": 0.12808431684970856 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.005039524752646685 + }, + "else": { + "operation": "boost", + "score": 0.13243937492370605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11842972785234451 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.10797744989395142 + }, + "else": { + "operation": "boost", + "score": 0.11368376761674881 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0015107175568118691 + }, + "else": { + "operation": "boost", + "score": 0.1039581447839737 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 30.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.15806585550308228 + }, + "else": { + "operation": "boost", + "score": 0.07550742477178574 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.1605195850133896 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121087.0, + "then": { + "operation": "boost", + "score": 0.11184421181678772 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.15011386573314667 + }, + "else": { + "operation": "boost", + "score": 0.06477958709001541 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01741243712604046 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.1144898533821106 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.0626005083322525 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.029085732996463776 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "boost", + "score": 0.058003589510917664 + }, + "else": { + "operation": "boost", + "score": -0.023343024775385857 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12133564800024033 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120524.0, + "then": { + "operation": "boost", + "score": 0.04399855434894562 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.035306621342897415 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.09530925005674362 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10428188741207123 + }, + "else": { + "operation": "boost", + "score": 0.07810501754283905 + } + }, + "else": { + "operation": "boost", + "score": 0.00856921449303627 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91652.0, + "then": { + "operation": "boost", + "score": 0.10170615464448929 + }, + "else": { + "operation": "boost", + "score": 0.07384508848190308 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0643896535038948 + } + }, + "else": { + "operation": "boost", + "score": 0.03744589164853096 + } + }, + "else": { + "operation": "boost", + "score": -0.0942816436290741 + } + } + }, + "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_greater", + "feature": "NumReferences", + "threshold": 273152.0, + "then": { + "operation": "boost", + "score": 0.027228612452745438 + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.049794964492321014 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1002224013209343 + }, + "else": { + "operation": "boost", + "score": 0.044735636562108994 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10645682364702225 + }, + "else": { + "operation": "boost", + "score": 0.0877927616238594 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.05124828219413757 + }, + "else": { + "operation": "boost", + "score": 0.09537957608699799 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08427631109952927 + }, + "else": { + "operation": "boost", + "score": -0.15172888338565826 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "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, + "then": { + "operation": "boost", + "score": 0.09437725692987442 + }, + "else": { + "operation": "boost", + "score": 0.08554062247276306 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10870461910963058 + }, + "else": { + "operation": "boost", + "score": 0.11814410984516144 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.043744057416915894 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07621655613183975 + }, + "else": { + "operation": "boost", + "score": 0.03376661613583565 + } + } + }, + "else": { + "operation": "boost", + "score": -0.5099161267280579 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458944.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.017136236652731895 + }, + "else": { + "operation": "boost", + "score": -0.19529670476913452 + } + }, + "else": { + "operation": "boost", + "score": -0.0292527936398983 + } + } + } + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.018563589081168175 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153.0, + "then": { + "operation": "boost", + "score": 0.0064325290732085705 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.0, + "then": { + "operation": "boost", + "score": 0.12119561433792114 + }, + "else": { + "operation": "boost", + "score": -0.1408301442861557 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12576.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.14982013404369354 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15173.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0717080682516098 + }, + "else": { + "operation": "boost", + "score": 0.11077189445495605 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1484389454126358 + }, + "else": { + "operation": "boost", + "score": 0.04946378618478775 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02260649763047695 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02644951269030571 + }, + "else": { + "operation": "boost", + "score": 0.0012524701887741685 + } + }, + "else": { + "operation": "boost", + "score": 0.0035117093939334154 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.009645887650549412 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10747760534286499 + }, + "else": { + "operation": "boost", + "score": 0.0691438615322113 + } + }, + "else": { + "operation": "boost", + "score": 0.008897651918232441 + } + }, + "else": { + "operation": "boost", + "score": -0.13614289462566376 + } + }, + "else": { + "operation": "boost", + "score": -0.1693532019853592 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.011005031876266003 + }, + "else": { + "operation": "boost", + "score": 0.05111228674650192 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13672378659248352 + }, + "else": { + "operation": "boost", + "score": 0.1556292474269867 + } + }, + "else": { + "operation": "boost", + "score": -0.07363246381282806 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012715638615190983 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005395862273871899 + }, + "else": { + "operation": "boost", + "score": 0.021505553275346756 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": -0.0247761569917202 + }, + "else": { + "operation": "boost", + "score": -0.20081757009029388 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1233355849981308 + }, + "else": { + "operation": "boost", + "score": 0.12454228103160858 + } + }, + "else": { + "operation": "boost", + "score": -0.03260856494307518 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06646382063627243 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07650304585695267 + }, + "else": { + "operation": "boost", + "score": 0.08155998587608337 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": -0.34878361225128174 + }, + "else": { + "operation": "boost", + "score": 0.1100405901670456 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.1168019026517868 + }, + "else": { + "operation": "boost", + "score": 0.12626248598098755 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1169825941324234 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0007383280899375677 + }, + "else": { + "operation": "boost", + "score": 0.1067197173833847 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.00042479042895138264 + }, + "else": { + "operation": "boost", + "score": -0.0917213037610054 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0504770390689373 + }, + "else": { + "operation": "boost", + "score": -0.2780768871307373 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020818762481212616 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.5, + "then": { + "operation": "boost", + "score": 0.022626753896474838 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.03584814816713333 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.03836624696850777 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0004919002531096339 + }, + "else": { + "operation": "boost", + "score": 0.11500844359397888 + } + }, + "else": { + "operation": "boost", + "score": 0.11583177000284195 + } + }, + "else": { + "operation": "boost", + "score": 0.10550025850534439 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06762927025556564 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": -0.03117801994085312 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06956017762422562 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011881452053785324 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019180521368980408 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1782711148262024 + }, + "else": { + "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": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.006676092278212309 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1219644546508789 + }, + "else": { + "operation": "boost", + "score": 0.1300860047340393 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05666518583893776 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.054094839841127396 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13728.5, + "then": { + "operation": "boost", + "score": 0.5714569091796875 + }, + "else": { + "operation": "boost", + "score": -0.1748674362897873 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.08709430694580078 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.5, + "then": { + "operation": "boost", + "score": 0.11789120733737946 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.1260778158903122 + }, + "else": { + "operation": "boost", + "score": 0.07048113644123077 + } + }, + "else": { + "operation": "boost", + "score": -0.10089461505413055 + } + }, + "else": { + "operation": "boost", + "score": 0.04867786169052124 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.030078832060098648 + } + } + } + }, + "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": 3.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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.6177110075950623 + } + }, + "else": { + "operation": "boost", + "score": -0.16206716001033783 + } + }, + "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", + "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": 55483.0, + "then": { + "operation": "boost", + "score": -0.17158396542072296 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.009181289933621883 + }, + "else": { + "operation": "boost", + "score": -0.2452208548784256 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.08885593712329865 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 511.0, + "then": { + "operation": "boost", + "score": 0.04563586786389351 + }, + "else": { + "operation": "boost", + "score": 0.12250866740942001 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11330807209014893 + }, + "else": { + "operation": "boost", + "score": 0.040175341069698334 + } + }, + "else": { + "operation": "boost", + "score": 0.058773621916770935 + } + }, + "else": { + "operation": "boost", + "score": -0.0018866562750190496 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02802659198641777 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003372544189915061 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22423.0, + "then": { + "operation": "boost", + "score": 0.10463236272335052 + }, + "else": { + "operation": "if_greater", + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.01334152277559042 + }, + "else": { + "operation": "boost", + "score": -0.05482158809900284 + } + }, + "else": { + "operation": "boost", + "score": -0.1551530659198761 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0380982831120491 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "then": { + "operation": "boost", + "score": -0.01846550777554512 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9552.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10841213166713715 + }, + "else": { + "operation": "boost", + "score": -0.1453428566455841 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9626.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14750.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, + "then": { + "operation": "boost", + "score": 0.09442662447690964 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10129.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.34239476919174194 + }, + "else": { + "operation": "boost", + "score": 0.5751698017120361 + } + }, + "else": { + "operation": "boost", + "score": 0.14353761076927185 + } + }, + "else": { + "operation": "boost", + "score": -0.007989033125340939 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.023369193077087402 + }, + "else": { + "operation": "boost", + "score": 0.045373544096946716 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53705.5, + "then": { + "operation": "boost", + "score": 0.10814082622528076 + }, + "else": { + "operation": "boost", + "score": -0.0031689379829913378 + } + } + }, + "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.024289492517709732 + }, + "else": { + "operation": "boost", + "score": 0.009769058786332607 + } + }, + "else": { + "operation": "boost", + "score": -0.0373481810092926 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007509117946028709 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "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_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03445175662636757 + }, + "else": { + "operation": "boost", + "score": 0.01241209078580141 + } + }, + "else": { + "operation": "boost", + "score": -0.03467920422554016 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0032047173008322716 + }, + "else": { + "operation": "boost", + "score": 0.040018681436777115 + } + }, + "else": { + "operation": "boost", + "score": 0.007159286178648472 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0035345356445759535 + } + } + } + } + }, + { + "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.12704329192638397 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4531.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13666.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 341837.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.008142412640154362 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09303658455610275 + }, + "else": { + "operation": "boost", + "score": 0.04050830751657486 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08968512713909149 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61155.5, + "then": { + "operation": "boost", + "score": 0.03485941141843796 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.052065640687942505 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.145792618393898 + }, + "else": { + "operation": "boost", + "score": -0.5250594019889832 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59476.5, + "then": { + "operation": "boost", + "score": -0.8648282885551453 + }, + "else": { + "operation": "boost", + "score": -0.008916330523788929 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 0.07306230813264847 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08567970991134644 + }, + "else": { + "operation": "boost", + "score": 0.10610946267843246 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1052989661693573 + }, + "else": { + "operation": "boost", + "score": 0.0009832850191742182 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.004380244296044111 + }, + "else": { + "operation": "boost", + "score": 0.1120210736989975 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4583.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12990.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.03448685258626938 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07708690315485 + }, + "else": { + "operation": "boost", + "score": 0.11354624480009079 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6700.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10021.0, + "then": { + "operation": "boost", + "score": 0.030807001516222954 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9948.0, + "then": { + "operation": "boost", + "score": 0.11316019296646118 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04605107009410858 + }, + "else": { + "operation": "boost", + "score": 0.07387041300535202 + } + }, + "else": { + "operation": "boost", + "score": 0.03700913488864899 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6621.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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": "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" + ], + "then": { + "operation": "boost", + "score": 0.12358678877353668 + }, + "else": { + "operation": "boost", + "score": 0.04473239928483963 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0707474872469902 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03202901780605316 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6920.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8995.0, + "then": { + "operation": "boost", + "score": 0.10080769658088684 + }, + "else": { + "operation": "boost", + "score": -0.7155593037605286 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10874909162521362 + }, + "else": { + "operation": "boost", + "score": 0.08249127864837646 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6290.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6693.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7133.0, + "then": { + "operation": "boost", + "score": 0.09101845324039459 + }, + "else": { + "operation": "boost", + "score": 0.1206662729382515 + } + }, + "else": { + "operation": "boost", + "score": 0.11515489220619202 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13912273943424225 + }, + "else": { + "operation": "boost", + "score": 0.11508620530366898 + } + }, + "else": { + "operation": "boost", + "score": -0.19534367322921753 + } + }, + "else": { + "operation": "boost", + "score": -0.2251049280166626 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11146684736013412 + }, + "else": { + "operation": "boost", + "score": 0.0712168738245964 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.020666422322392464 + }, + "else": { + "operation": "boost", + "score": 0.127732515335083 + } + }, + "else": { + "operation": "boost", + "score": 0.04236239567399025 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.037344470620155334 + } + }, + "else": { + "operation": "boost", + "score": 0.026799054816365242 + } + } + } + } + }, + "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": "boost", + "score": 0.02170506864786148 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07994429767131805 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004006600473076105 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.10572759807109833 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11501487344503403 + }, + "else": { + "operation": "boost", + "score": 0.15690617263317108 + } + } + } + } + } + }, + "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 + } + }, + "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", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 664.0, + "then": { + "operation": "boost", + "score": 0.056869298219680786 + }, + "else": { + "operation": "boost", + "score": 0.09665701538324356 + } + }, + "else": { + "operation": "boost", + "score": -0.19121220707893372 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00028383464086800814 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.002974012866616249 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.00034037025761790574 + }, + "else": { + "operation": "boost", + "score": 0.18766413629055023 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0011691211257129908 + }, + "else": { + "operation": "boost", + "score": 0.11189508438110352 + } + }, + "else": { + "operation": "boost", + "score": 0.03783100098371506 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.042652200907468796 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05531494691967964 + }, + "else": { + "operation": "boost", + "score": 0.14103245735168457 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007165766786783934 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11578479409217834 + }, + "else": { + "operation": "boost", + "score": -0.027627481147646904 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.12167559564113617 + }, + "else": { + "operation": "boost", + "score": 0.026882139965891838 + } + }, + "else": { + "operation": "boost", + "score": 0.044896449893713 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014588392339646816 + } + }, + "else": { + "operation": "boost", + "score": -0.02298533171415329 + } + }, + "else": { + "operation": "boost", + "score": -0.02514762431383133 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03404722362756729 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.28478142619132996 + }, + "else": { + "operation": "boost", + "score": 0.08541805297136307 + } + }, + "else": { + "operation": "boost", + "score": 0.12572206556797028 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.0, + "then": { + "operation": "boost", + "score": -0.15642127394676208 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11625826358795166 + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6626.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7560.0, + "then": { + "operation": "boost", + "score": 0.07903745025396347 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7015.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1100289449095726 + }, + "else": { + "operation": "boost", + "score": 0.11637292057275772 + } + }, + "else": { + "operation": "boost", + "score": 0.09280861914157867 + } + }, + "else": { + "operation": "boost", + "score": 0.02637857012450695 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03557676076889038 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 377.5, + "then": { + "operation": "boost", + "score": 0.12516959011554718 + }, + "else": { + "operation": "boost", + "score": -0.10140528529882431 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "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, + "then": { + "operation": "boost", + "score": -0.002760044764727354 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31541.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08696942031383514 + }, + "else": { + "operation": "boost", + "score": 0.10964518040418625 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.02483586221933365 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5358.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02754087746143341 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.18763558566570282 + }, + "else": { + "operation": "boost", + "score": 0.10168328881263733 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03549262881278992 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12002770602703094 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20118.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, + "then": { + "operation": "boost", + "score": 0.05562460049986839 + }, + "else": { + "operation": "boost", + "score": 0.1382930874824524 + } + }, + "else": { + "operation": "boost", + "score": -0.04786171019077301 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.033339329063892365 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.033787503838539124 + }, + "else": { + "operation": "boost", + "score": -0.030529187992215157 + } + }, + "else": { + "operation": "boost", + "score": 0.01424645446240902 + } + } + } + }, + "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.02817673236131668 + }, + "else": { + "operation": "boost", + "score": -0.07206183671951294 + } + }, + "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": [ + "Operator", + "Destructor", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77078.5, + "then": { + "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.0756891593337059 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.01682187058031559 + }, + "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, + "then": { + "operation": "boost", + "score": -0.10061021894216537 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 941.0, + "then": { + "operation": "boost", + "score": 0.11033410578966141 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.2173837572336197 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 214.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03529554605484009 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.20242619514465332 + }, + "else": { + "operation": "boost", + "score": 0.12199624627828598 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04744778573513031 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2719.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.19712868332862854 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0561179593205452 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03651002421975136 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 854.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13635210692882538 + }, + "else": { + "operation": "boost", + "score": -0.13511916995048523 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 881.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.09149709343910217 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 980.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.13997934758663177 + }, + "else": { + "operation": "boost", + "score": 0.23502467572689056 + } + }, + "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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09209397435188293 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.4309852123260498 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1000.5, + "then": { + "operation": "boost", + "score": 0.14500708878040314 + }, + "else": { + "operation": "boost", + "score": 0.09508564323186874 + } + } + }, + "else": { + "operation": "boost", + "score": -0.041870374232530594 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08119194209575653 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.07845411449670792 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1177368089556694 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 231.5, + "then": { + "operation": "boost", + "score": 0.10766234993934631 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12181725353002548 + }, + "else": { + "operation": "boost", + "score": 0.08456866443157196 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 491.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.04779409244656563 + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010718140751123428 + }, + "else": { + "operation": "boost", + "score": -0.03561139479279518 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.06571543216705322 + }, + "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, + "then": { + "operation": "boost", + "score": 0.0932004526257515 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04869609698653221 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04870045930147171 + }, + "else": { + "operation": "boost", + "score": 0.09175430983304977 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015789516270160675 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009920375421643257 + } + }, + "else": { + "operation": "boost", + "score": -0.022845478728413582 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0536784753203392 + }, + "else": { + "operation": "boost", + "score": 0.03575283661484718 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.03976194187998772 + }, + "else": { + "operation": "boost", + "score": -0.15307055413722992 + } + }, + "else": { + "operation": "boost", + "score": 0.012021844275295734 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.0051649524830281734 + }, + "else": { + "operation": "boost", + "score": -0.04051781818270683 + } + }, + "else": { + "operation": "boost", + "score": 0.03497271612286568 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6626.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7560.0, + "then": { + "operation": "boost", + "score": 0.07734251767396927 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7015.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10984856635332108 + }, + "else": { + "operation": "boost", + "score": 0.11578528583049774 + } + }, + "else": { + "operation": "boost", + "score": 0.09125273674726486 + } + }, + "else": { + "operation": "boost", + "score": 0.025478046387434006 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03594997152686119 + } + }, + "else": { + "operation": "boost", + "score": 0.11369506269693375 + } + }, + "else": { + "operation": "boost", + "score": 0.030859125778079033 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5568.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "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": "boost", + "score": 0.09695307910442352 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11633462458848953 + }, + "else": { + "operation": "boost", + "score": -0.216081902384758 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0929114818572998 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23209.0, + "then": { + "operation": "boost", + "score": 0.10721806436777115 + }, + "else": { + "operation": "boost", + "score": 0.1124635636806488 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04377766326069832 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08680035918951035 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 764717.5, + "then": { + "operation": "boost", + "score": 0.09778998792171478 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.02478635311126709 + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4142.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11572779715061188 + }, + "else": { + "operation": "boost", + "score": 0.12580721080303192 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01537854690104723 + } + }, + "else": { + "operation": "boost", + "score": 0.0060450551100075245 + } + }, + "else": { + "operation": "boost", + "score": -0.0030555822886526585 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.04387601092457771 + }, + "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": 423.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036028627306222916 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 372.5, + "then": { + "operation": "boost", + "score": -0.13769416511058807 + }, + "else": { + "operation": "boost", + "score": 0.048523277044296265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.01097783911973238 + }, + "else": { + "operation": "boost", + "score": -0.47763222455978394 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.026672957465052605 + }, + "else": { + "operation": "boost", + "score": 0.11609787493944168 + } + }, + "else": { + "operation": "boost", + "score": -0.007917379029095173 + } + }, + "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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12084552645683289 + }, + "else": { + "operation": "boost", + "score": -0.13577285408973694 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 294.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 314.5, + "then": { + "operation": "boost", + "score": 0.08907057344913483 + }, + "else": { + "operation": "boost", + "score": 0.10360479354858398 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11235085129737854 + }, + "else": { + "operation": "boost", + "score": 0.09312503039836884 + } + }, + "else": { + "operation": "boost", + "score": 0.08140162378549576 + } + } + }, + "else": { + "operation": "boost", + "score": -0.025381002575159073 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06337647140026093 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07329260557889938 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": -0.2133885771036148 + }, + "else": { + "operation": "boost", + "score": 0.10777081549167633 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.11491157859563828 + }, + "else": { + "operation": "boost", + "score": 0.12061142176389694 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "boost", + "score": -0.011569409631192684 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11490832269191742 + }, + "else": { + "operation": "boost", + "score": 0.08553840965032578 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11428643018007278 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": 0.019066262990236282 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.07019086927175522 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12590521574020386 + }, + "else": { + "operation": "boost", + "score": 0.07064993679523468 + } + } + }, + "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": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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, + "then": { + "operation": "boost", + "score": 0.11407673358917236 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11712625622749329 + }, + "else": { + "operation": "boost", + "score": 0.032949939370155334 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012933429330587387 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00340388435870409 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.04399121180176735 + }, + "else": { + "operation": "boost", + "score": 0.14347295463085175 + } + }, + "else": { + "operation": "boost", + "score": 0.05938417837023735 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008752281777560711 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03341970592737198 + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "boost", + "score": 0.11148620396852493 + }, + "else": { + "operation": "boost", + "score": -0.08880002796649933 + } + }, + "else": { + "operation": "boost", + "score": -0.20673221349716187 + } + }, + "else": { + "operation": "boost", + "score": 0.05654976889491081 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.015917686745524406 + }, + "else": { + "operation": "boost", + "score": 0.09205790609121323 + } + }, + "else": { + "operation": "boost", + "score": -0.03699331358075142 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30660.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, + "then": { + "operation": "boost", + "score": 0.009137417189776897 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6644.5, + "then": { + "operation": "boost", + "score": 0.11542799323797226 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11260811239480972 + }, + "else": { + "operation": "boost", + "score": 0.04780644178390503 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0067468141205608845 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2989.5, + "then": { + "operation": "boost", + "score": 0.12187796831130981 + }, + "else": { + "operation": "boost", + "score": 0.12272375077009201 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.006493453402072191 + }, + "else": { + "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_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01776696741580963 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19479623436927795 + }, + "else": { + "operation": "boost", + "score": -0.10064665973186493 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.035971615463495255 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.41398751735687256 + } + }, + "else": { + "operation": "boost", + "score": 0.014553161337971687 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.036055076867341995 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4146.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14187.5, + "then": { + "operation": "boost", + "score": -0.012015172280371189 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12619.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13886.5, + "then": { + "operation": "boost", + "score": 0.10530548542737961 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.1328285038471222 + }, + "else": { + "operation": "boost", + "score": 0.11924824863672256 + } + }, + "else": { + "operation": "boost", + "score": 0.09798859059810638 + } + }, + "else": { + "operation": "boost", + "score": 0.1147172749042511 + } + }, + "else": { + "operation": "boost", + "score": 0.11431775987148285 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14068.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1013580709695816 + }, + "else": { + "operation": "boost", + "score": 0.00664711045101285 + } + }, + "else": { + "operation": "boost", + "score": -0.016779663041234016 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04648451879620552 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018906164914369583 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11026984453201294 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03383825719356537 + }, + "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": "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 + } + } + } + }, + "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_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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11776480078697205 + }, + "else": { + "operation": "boost", + "score": 0.11331719160079956 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0971241146326065 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05184529721736908 + } + }, + "else": { + "operation": "boost", + "score": -0.05027764290571213 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02404729090631008 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1049603521823883 + }, + "else": { + "operation": "boost", + "score": 0.1388562023639679 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": 0.08606085181236267 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06458310037851334 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012005545198917389 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004102766513824463 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.038227301090955734 + }, + "else": { + "operation": "boost", + "score": -0.14853477478027344 + } + }, + "else": { + "operation": "boost", + "score": 0.011424646712839603 + } + }, + "else": { + "operation": "boost", + "score": 0.1323017030954361 + } + }, + "else": { + "operation": "boost", + "score": 0.004993215668946505 + } + }, + "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.08069165050983429 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7015.5, + "then": { + "operation": "boost", + "score": 0.11316180974245071 + }, + "else": { + "operation": "boost", + "score": 0.08970030397176743 + } + } + }, + "else": { + "operation": "boost", + "score": 0.031553298234939575 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6653.5, + "then": { + "operation": "boost", + "score": 0.11530741304159164 + }, + "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, + "then": { + "operation": "boost", + "score": 0.1056964248418808 + }, + "else": { + "operation": "boost", + "score": 0.12145009636878967 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.0, + "then": { + "operation": "boost", + "score": 0.12066412717103958 + }, + "else": { + "operation": "boost", + "score": 0.059749308973550797 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4063.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14181.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": "boost", + "score": 0.05321376025676727 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98110.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": 0.06124378740787506 + }, + "else": { + "operation": "boost", + "score": 0.10551166534423828 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59476.5, + "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 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.00753004988655448 + }, + "else": { + "operation": "boost", + "score": 0.1133081391453743 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13381.5, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4141.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.015969784930348396 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4163.5, + "then": { + "operation": "boost", + "score": -0.002058087382465601 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.12085232883691788 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12735.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13060.5, + "then": { + "operation": "boost", + "score": 0.07173795998096466 + }, + "else": { + "operation": "boost", + "score": 0.11070729792118073 + } + }, + "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, + "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 + } + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": 0.10337310284376144 + }, + "else": { + "operation": "boost", + "score": 0.15793806314468384 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08400432020425797 + }, + "else": { + "operation": "boost", + "score": 0.055337850004434586 + } + } + } + } + } + } + } + }, + "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": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13617907464504242 + }, + "else": { + "operation": "boost", + "score": 0.12304933369159698 + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006242822855710983 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16386277973651886 + }, + "else": { + "operation": "boost", + "score": 0.11750268191099167 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08795224875211716 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 311.0, + "then": { + "operation": "boost", + "score": 0.054508257657289505 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267.0, + "then": { + "operation": "boost", + "score": 0.11742265522480011 + }, + "else": { + "operation": "boost", + "score": 0.0646212249994278 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026398925110697746 + } + }, + "else": { + "operation": "boost", + "score": -0.04337790608406067 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 482.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 663.0, + "then": { + "operation": "boost", + "score": 0.056014493107795715 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 617.0, + "then": { + "operation": "boost", + "score": 0.11908821761608124 + }, + "else": { + "operation": "boost", + "score": 0.10882829874753952 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 528.0, + "then": { + "operation": "boost", + "score": -0.15502917766571045 + }, + "else": { + "operation": "boost", + "score": 0.10301477462053299 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0748995691537857 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07134193181991577 + } + }, + "else": { + "operation": "boost", + "score": -0.007575653027743101 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020746611058712006 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0018824012950062752 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008946247398853302 + } + }, + { + "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": 5942.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "boost", + "score": 0.019813355058431625 + }, + "else": { + "operation": "boost", + "score": -0.15347939729690552 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43376.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31005.5, + "then": { + "operation": "boost", + "score": -0.009056524373590946 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30903.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09967061132192612 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10885461419820786 + }, + "else": { + "operation": "boost", + "score": 0.10471146553754807 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28021.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28296.5, + "then": { + "operation": "boost", + "score": 0.0436483696103096 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11136145144701004 + }, + "else": { + "operation": "boost", + "score": 0.11672936379909515 + } + }, + "else": { + "operation": "boost", + "score": 0.12233179807662964 + } + }, + "else": { + "operation": "boost", + "score": 0.11947109550237656 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03013504482805729 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6653.5, + "then": { + "operation": "boost", + "score": 0.1142214834690094 + }, + "else": { + "operation": "boost", + "score": 0.08822224289178848 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31515.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 0.011715330183506012 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0500250905752182 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.37482473254203796 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1414232701063156 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09559629112482071 + }, + "else": { + "operation": "boost", + "score": 0.0723724365234375 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11973792314529419 + }, + "else": { + "operation": "boost", + "score": 0.031440358608961105 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03163629770278931 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0022875263821333647 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.2828960716724396 + }, + "else": { + "operation": "boost", + "score": 0.030866745859384537 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.12276966869831085 + }, + "else": { + "operation": "boost", + "score": 0.0016459213802590966 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04602909833192825 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15696.0, + "then": { + "operation": "boost", + "score": -0.2616861164569855 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 309.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 325.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 873.5, + "then": { + "operation": "boost", + "score": 0.03736630827188492 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10553732514381409 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.022003021091222763 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "boost", + "score": 0.11044977605342865 + }, + "else": { + "operation": "boost", + "score": 0.06175927445292473 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003584585152566433 + } + } + } + }, + "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, + "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.0082086818292737 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0749879777431488 + }, + "else": { + "operation": "boost", + "score": -0.04148983210325241 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004043429158627987 + }, + "else": { + "operation": "boost", + "score": 0.018687106668949127 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": -0.02566063031554222 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17119348049163818 + }, + "else": { + "operation": "boost", + "score": -0.10079196840524673 + } + } + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12040850520133972 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09849417954683304 + }, + "else": { + "operation": "boost", + "score": -0.00671906815841794 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008665910921990871 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.036706484854221344 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12612484395503998 + }, + "else": { + "operation": "boost", + "score": 0.06504089385271072 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04017152264714241 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12436699122190475 + }, + "else": { + "operation": "boost", + "score": 0.06208692118525505 + } + } + }, + "else": { + "operation": "boost", + "score": 0.043652500957250595 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33856.0, + "then": { + "operation": "boost", + "score": 0.013416964560747147 + }, + "else": { + "operation": "boost", + "score": -0.2008877694606781 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.10628369450569153 + }, + "else": { + "operation": "boost", + "score": 0.11517953872680664 + } + }, + "else": { + "operation": "boost", + "score": 0.1515420377254486 + } + }, + "else": { + "operation": "boost", + "score": 0.18174949288368225 + } + }, + "else": { + "operation": "boost", + "score": -0.01473301462829113 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.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": 2.5, + "then": { + "operation": "boost", + "score": 0.13878923654556274 + }, + "else": { + "operation": "boost", + "score": 0.013093777932226658 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12686362862586975 + }, + "else": { + "operation": "boost", + "score": 0.1287800669670105 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1279754787683487 + } + }, + "else": { + "operation": "boost", + "score": 0.052149128168821335 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_ArrowMemberAccess", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08128886669874191 + }, + "else": { + "operation": "boost", + "score": 0.060310304164886475 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.9219446182250977 + }, + "else": { + "operation": "boost", + "score": 0.04735357686877251 + } + } + }, + "else": { + "operation": "boost", + "score": -0.270495742559433 + } + }, + "else": { + "operation": "boost", + "score": 0.08099003881216049 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 383039.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.020957479253411293 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.009802358224987984 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08378738909959793 + }, + "else": { + "operation": "boost", + "score": 0.06366406381130219 + } + } + }, + "else": { + "operation": "boost", + "score": 0.035406045615673065 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017888832837343216 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "boost", + "score": -0.12115075439214706 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.02014242298901081 + }, + "else": { + "operation": "boost", + "score": 0.10567252337932587 + } + }, + "else": { + "operation": "boost", + "score": 0.02248067781329155 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0491342693567276 + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "boost", + "score": -0.10211582481861115 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09706765413284302 + }, + "else": { + "operation": "boost", + "score": -0.05204072222113609 + } + }, + "else": { + "operation": "boost", + "score": -0.003318347269669175 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.003475832287222147 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008944706991314888 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03795943781733513 + }, + "else": { + "operation": "boost", + "score": -0.03203709423542023 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04055871069431305 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07287251949310303 + }, + "else": { + "operation": "boost", + "score": 0.039673589169979095 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.041603583842515945 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.091443732380867 + }, + "else": { + "operation": "boost", + "score": 0.11649435013532639 + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0575508289039135 + }, + "else": { + "operation": "boost", + "score": 0.17685872316360474 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006071857176721096 + } + } + }, + "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": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.41641122102737427 + }, + "else": { + "operation": "boost", + "score": -0.13562333583831787 + } + }, + "else": { + "operation": "boost", + "score": 0.009700333699584007 + } + }, + "else": { + "operation": "boost", + "score": -0.07756151258945465 + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.04899056255817413 + }, + "else": { + "operation": "boost", + "score": 0.01726975478231907 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11080960184335709 + }, + "else": { + "operation": "boost", + "score": -0.13001158833503723 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.18197880685329437 + }, + "else": { + "operation": "boost", + "score": 0.11847155541181564 + } + }, + "else": { + "operation": "boost", + "score": -0.010698712430894375 + } + }, + "else": { + "operation": "boost", + "score": 0.03314286470413208 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10642211139202118 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05749661102890968 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1009039580821991 + }, + "else": { + "operation": "boost", + "score": -0.2562820613384247 + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.0, + "then": { + "operation": "boost", + "score": 0.6463339924812317 + }, + "else": { + "operation": "boost", + "score": 0.13608647882938385 + } + }, + "else": { + "operation": "boost", + "score": -0.060346197336912155 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "boost", + "score": 0.10517560690641403 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02519700676202774 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11664151400327682 + }, + "else": { + "operation": "boost", + "score": -0.03376206010580063 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05695989355444908 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007655429188162088 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006434833165258169 + } + } + } + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0930405780673027 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01171809621155262 + }, + "else": { + "operation": "boost", + "score": 0.005391577258706093 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.009667092934250832 + }, + "else": { + "operation": "boost", + "score": -0.1265392154455185 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.14062203466892242 + }, + "else": { + "operation": "boost", + "score": 0.07061797380447388 + } + }, + "else": { + "operation": "boost", + "score": 0.03917215019464493 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03708736225962639 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014981848187744617 + }, + "else": { + "operation": "boost", + "score": 0.09650696069002151 + } + } + } + } + }, + "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.008799485862255096 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.04532046243548393 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.3698595464229584 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.1115834191441536 + }, + "else": { + "operation": "boost", + "score": 0.09062855690717697 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026252975687384605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014416547492146492 + }, + "else": { + "operation": "boost", + "score": 0.1284303367137909 + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.01896749995648861 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114453.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0749962255358696 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1179298609495163 + }, + "else": { + "operation": "boost", + "score": 0.053454045206308365 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3324629068374634 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04721817746758461 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014381482265889645 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3206.5, + "then": { + "operation": "boost", + "score": 0.03587130829691887 + }, + "else": { + "operation": "boost", + "score": 0.01058752927929163 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.013020060956478119 + } + }, + "else": { + "operation": "boost", + "score": 0.051748961210250854 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.04844072833657265 + }, + "else": { + "operation": "boost", + "score": 0.015646779909729958 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 662.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 723.0, + "then": { + "operation": "boost", + "score": 0.05163460224866867 + }, + "else": { + "operation": "boost", + "score": 0.10947781801223755 + } + }, + "else": { + "operation": "boost", + "score": -0.03505032882094383 + } + }, + "else": { + "operation": "boost", + "score": -0.13792568445205688 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012868949212133884 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.008595473133027554 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008071853779256344 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11186090111732483 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06971453130245209 + }, + "else": { + "operation": "boost", + "score": 0.013401416130363941 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04043295606970787 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.030924219638109207 + }, + "else": { + "operation": "boost", + "score": 0.0012555536814033985 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06029397249221802 + }, + "else": { + "operation": "boost", + "score": 0.038312070071697235 + } + }, + "else": { + "operation": "boost", + "score": 0.04133836179971695 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.025226624682545662 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010621519759297371 + } + } + }, + "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": 366.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.04165883734822273 + }, + "else": { + "operation": "boost", + "score": 0.06173845753073692 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.09767887741327286 + }, + "else": { + "operation": "boost", + "score": 0.04516161233186722 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08951549232006073 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006877149920910597 + } + }, + "else": { + "operation": "boost", + "score": -0.014162949286401272 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08890460431575775 + } + }, + { + "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": 820317.5, + "then": { + "operation": "boost", + "score": 0.0888441652059555 + }, + "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", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35729.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61387.0, + "then": { + "operation": "boost", + "score": 0.03227389603853226 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09340731799602509 + }, + "else": { + "operation": "boost", + "score": -0.052491676062345505 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30660.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.17457814514636993 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09535752981901169 + }, + "else": { + "operation": "boost", + "score": 0.052558306604623795 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32083.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10489995777606964 + }, + "else": { + "operation": "boost", + "score": 0.0897207260131836 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10640706866979599 + }, + "else": { + "operation": "boost", + "score": 0.08389858156442642 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.025349756702780724 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33949.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, + "then": { + "operation": "boost", + "score": 0.01301130373030901 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45623.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.05221866816282272 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11152523756027222 + }, + "else": { + "operation": "boost", + "score": 0.12393059581518173 + } + }, + "else": { + "operation": "boost", + "score": 0.10773760080337524 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.034998852759599686 + } + } + }, + "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": 38926.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44699.0, + "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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05778122693300247 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.04388134554028511 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 153907.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.29398900270462036 + }, + "else": { + "operation": "boost", + "score": -0.8986448049545288 + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0193962249904871 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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.10497711598873138 + }, + "else": { + "operation": "boost", + "score": 0.10400514304637909 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.11813880503177643 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.138564795255661 + }, + "else": { + "operation": "boost", + "score": 0.10872367024421692 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14721275866031647 + } + }, + "else": { + "operation": "boost", + "score": 0.06904225051403046 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1009008064866066 + }, + "else": { + "operation": "boost", + "score": 0.01703585311770439 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03164363652467728 + } + }, + "else": { + "operation": "boost", + "score": -0.007380561903119087 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10395728051662445 + }, + "else": { + "operation": "boost", + "score": -0.01736118271946907 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9214.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22623.0, + "then": { + "operation": "boost", + "score": 0.1005871593952179 + }, + "else": { + "operation": "boost", + "score": 0.09880270808935165 + } + }, + "else": { + "operation": "boost", + "score": -0.007115740329027176 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8384.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1186157837510109 + }, + "else": { + "operation": "boost", + "score": 0.0314675010740757 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6799.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7565.0, + "then": { + "operation": "boost", + "score": 0.06544650346040726 + }, + "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 + } + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11131089180707932 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "boost", + "score": 0.04675327241420746 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4286.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.5759063959121704 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009456451050937176 + }, + "else": { + "operation": "boost", + "score": 0.14067597687244415 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02290741167962551 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6075.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6101.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04473406821489334 + }, + "else": { + "operation": "boost", + "score": 0.12328151613473892 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.13757339119911194 + }, + "else": { + "operation": "boost", + "score": -0.024648567661643028 + } + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "boost", + "score": 0.011073976755142212 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11042403429746628 + }, + "else": { + "operation": "boost", + "score": 0.11574175208806992 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.20119313895702362 + }, + "else": { + "operation": "boost", + "score": 0.25091636180877686 + } + } + }, + "else": { + "operation": "boost", + "score": -0.19018784165382385 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019912265241146088 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.058607347309589386 + }, + "else": { + "operation": "boost", + "score": 0.04856600612401962 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": -0.0919908657670021 + }, + "else": { + "operation": "boost", + "score": 0.010629731230437756 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.15975475311279297 + }, + "else": { + "operation": "boost", + "score": -0.06712454557418823 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.006325760390609503 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046227846294641495 + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.15637436509132385 + }, + "else": { + "operation": "boost", + "score": 0.09979769587516785 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0642484501004219 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010671859607100487 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.002557526109740138 + }, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.29038918018341064 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.12217387557029724 + }, + "else": { + "operation": "boost", + "score": 0.09563601016998291 + } + } + }, + "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": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.2407744824886322 + }, + "else": { + "operation": "boost", + "score": 0.11188812553882599 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.132680743932724 + }, + "else": { + "operation": "boost", + "score": -0.14403128623962402 + } + }, + "else": { + "operation": "boost", + "score": -0.14675834774971008 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017693376168608665 + } + } + }, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06540795415639877 + }, + "else": { + "operation": "boost", + "score": 0.04994508996605873 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008810581639409065 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": -0.003419453278183937 + }, + "else": { + "operation": "boost", + "score": -0.11253554373979568 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0006820652051828802 + }, + "else": { + "operation": "boost", + "score": -0.05159952864050865 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0002453812339808792 + } + }, + "else": { + "operation": "boost", + "score": -0.03910546749830246 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0723169595003128 + }, + "else": { + "operation": "boost", + "score": 0.03582147881388664 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01527039147913456 + }, + "else": { + "operation": "boost", + "score": -0.0023956014774739742 + } + } + } + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03441893309354782 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12655244767665863 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.03231511265039444 + }, + "else": { + "operation": "boost", + "score": -0.0020266827195882797 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.025268198922276497 + }, + "else": { + "operation": "boost", + "score": 0.07495173066854477 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.01473674550652504 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 398.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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47123.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.09874320775270462 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": 0.017621086910367012 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.05818326398730278 + }, + "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": "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015091036446392536 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "then": { + "operation": "boost", + "score": 0.1237991601228714 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 0.05393330752849579 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.08436189591884613 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006536504253745079 + } + }, + "else": { + "operation": "boost", + "score": 0.023625453934073448 + } + }, + "else": { + "operation": "boost", + "score": 0.027088120579719543 + } + }, + "else": { + "operation": "boost", + "score": 0.003951369319111109 + } + }, + "else": { + "operation": "boost", + "score": -0.019146628677845 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08106813579797745 + } + }, + "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.021916579455137253 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6055.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6249.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19436.5, + "then": { + "operation": "boost", + "score": -0.2527123987674713 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18842.0, + "then": { + "operation": "boost", + "score": 0.1169806495308876 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11157.5, + "then": { + "operation": "boost", + "score": -0.00571984238922596 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10940.5, + "then": { + "operation": "boost", + "score": 0.1309751272201538 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09864182025194168 + } + }, + "else": { + "operation": "boost", + "score": -0.17964698374271393 + } + }, + "else": { + "operation": "boost", + "score": -0.07660409808158875 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.025089401751756668 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9251.0, + "then": { + "operation": "boost", + "score": 0.22281327843666077 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7509.0, + "then": { + "operation": "boost", + "score": 0.11974545568227768 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5240.0, + "then": { + "operation": "boost", + "score": 0.18041642010211945 + }, + "else": { + "operation": "boost", + "score": 0.12010202556848526 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4826.0, + "then": { + "operation": "boost", + "score": 0.022342557087540627 + }, + "else": { + "operation": "boost", + "score": 0.2790577709674835 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07897057384252548 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14301.0, + "then": { + "operation": "boost", + "score": -0.1563824713230133 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11552315205335617 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1310478001832962 + }, + "else": { + "operation": "boost", + "score": -0.25765684247016907 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.40655359625816345 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13808396458625793 + }, + "else": { + "operation": "boost", + "score": 0.13258124887943268 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": -0.22272859513759613 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24093.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.041581910103559494 + }, + "else": { + "operation": "boost", + "score": 0.10514076054096222 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0576932318508625 + }, + "else": { + "operation": "boost", + "score": 0.10604695230722427 + } + }, + "else": { + "operation": "boost", + "score": 0.02599644660949707 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16098.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20608.0, + "then": { + "operation": "boost", + "score": -0.6288476586341858 + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.05759584531188011 + }, + "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.049395851790905 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09583474695682526 + }, + "else": { + "operation": "boost", + "score": 0.10549957305192947 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06275861710309982 + }, + "else": { + "operation": "boost", + "score": 0.10764174163341522 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16301.5, + "then": { + "operation": "boost", + "score": -0.1263478547334671 + }, + "else": { + "operation": "boost", + "score": 0.10912902653217316 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11043279618024826 + }, + "else": { + "operation": "boost", + "score": -0.11514197289943695 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.017784005030989647 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13434.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18526.5, + "then": { + "operation": "boost", + "score": -0.1422775536775589 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10611999779939651 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.033917561173439026 + } + }, + "else": { + "operation": "boost", + "score": -0.1359713077545166 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.06496118754148483 + }, + "else": { + "operation": "boost", + "score": 0.01827620528638363 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011440375819802284 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005849084351211786 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0007600668468512595 + } + }, + { + "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": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05385952815413475 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.009311872534453869 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.2526511549949646 + } + }, + "else": { + "operation": "boost", + "score": 0.03434370085597038 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.17690499126911163 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129672.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.051225531846284866 + } + }, + "else": { + "operation": "boost", + "score": 0.009875260293483734 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1323612779378891 + } + }, + "else": { + "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_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": 0.04011461138725281 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "boost", + "score": 0.1286897361278534 + }, + "else": { + "operation": "boost", + "score": -0.11145806312561035 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.5763974785804749 + } + }, + "else": { + "operation": "boost", + "score": 0.044184233993291855 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19986.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24945.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32115.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08546226471662521 + }, + "else": { + "operation": "boost", + "score": 0.041334230452775955 + } + }, + "else": { + "operation": "boost", + "score": -0.00012287443678360432 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23872.5, + "then": { + "operation": "boost", + "score": 0.07152043282985687 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13280722498893738 + }, + "else": { + "operation": "boost", + "score": 0.32098644971847534 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, + "then": { + "operation": "boost", + "score": -0.20297908782958984 + }, + "else": { + "operation": "boost", + "score": 0.09585189074277878 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14268.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.09166370332241058 + }, + "else": { + "operation": "boost", + "score": -0.002396339550614357 + } + }, + "else": { + "operation": "boost", + "score": 0.17355331778526306 + } + }, + "else": { + "operation": "boost", + "score": 0.053849346935749054 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.0, + "then": { + "operation": "boost", + "score": 0.12151970714330673 + }, + "else": { + "operation": "boost", + "score": 0.06874828040599823 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 519.0, + "then": { + "operation": "boost", + "score": -0.005161526147276163 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 442.0, + "then": { + "operation": "boost", + "score": 0.11938928812742233 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1160564124584198 + }, + "else": { + "operation": "boost", + "score": -0.11448244750499725 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2875.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6616.0, + "then": { + "operation": "boost", + "score": 0.10224597156047821 + }, + "else": { + "operation": "boost", + "score": -0.12129288911819458 + } + }, + "else": { + "operation": "boost", + "score": 0.05701776593923569 + } + }, + "else": { + "operation": "boost", + "score": -0.026976488530635834 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022758273407816887 + } + }, + "else": { + "operation": "boost", + "score": -0.022381046786904335 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08438946306705475 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "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": "boost", + "score": 0.01739105023443699 + }, + "else": { + "operation": "boost", + "score": -0.022271141409873962 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.053192753344774246 + }, + "else": { + "operation": "boost", + "score": 0.036341361701488495 + } + }, + "else": { + "operation": "boost", + "score": 0.01314858254045248 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.017730051651597023 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3110228478908539 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.019614996388554573 + }, + "else": { + "operation": "boost", + "score": -0.005650571547448635 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005350506864488125 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1490398496389389 + }, + "else": { + "operation": "boost", + "score": 0.07704579830169678 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6708.0, + "then": { + "operation": "boost", + "score": 0.03848249465227127 + }, + "else": { + "operation": "boost", + "score": 0.11360812932252884 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "boost", + "score": -0.020914815366268158 + }, + "else": { + "operation": "boost", + "score": 0.05085868760943413 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64139.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -3.7085723876953125 + }, + "else": { + "operation": "boost", + "score": -0.13665522634983063 + } + }, + "else": { + "operation": "boost", + "score": -0.03216608613729477 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54378.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.16116051375865936 + }, + "else": { + "operation": "boost", + "score": 0.10502717643976212 + } + }, + "else": { + "operation": "boost", + "score": 0.04496125876903534 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13173003494739532 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09026839584112167 + }, + "else": { + "operation": "boost", + "score": 0.13245251774787903 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10234560072422028 + }, + "else": { + "operation": "boost", + "score": -0.3338088095188141 + } + }, + "else": { + "operation": "boost", + "score": 0.06050323694944382 + } + }, + "else": { + "operation": "boost", + "score": 0.11543063819408417 + } + }, + "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 + } + }, + "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 + } + } + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.1194077730178833 + }, + "else": { + "operation": "boost", + "score": 0.05710313841700554 + } + }, + "else": { + "operation": "boost", + "score": -0.03530915454030037 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.040681347250938416 + }, + "else": { + "operation": "boost", + "score": 0.004820105619728565 + } + }, + "else": { + "operation": "boost", + "score": -0.12380414456129074 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 8.622721361462027e-05 + }, + "else": { + "operation": "boost", + "score": 0.036713857203722 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0051482985727488995 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10690797865390778 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037800878286361694 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.020798075944185257 + }, + "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_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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.13628336787223816 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.10826901346445084 + }, + "else": { + "operation": "boost", + "score": 0.12433557957410812 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05601309984922409 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11838290095329285 + }, + "else": { + "operation": "boost", + "score": 0.046414345502853394 + } + } + } + }, + "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_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_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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09556010365486145 + }, + "else": { + "operation": "boost", + "score": -0.02114446461200714 + } + }, + "else": { + "operation": "boost", + "score": 0.10380442440509796 + } + }, + "else": { + "operation": "boost", + "score": 0.08583994954824448 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.04600831866264343 + }, + "else": { + "operation": "boost", + "score": -0.05977516621351242 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013191867619752884 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.002058755373582244 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1060093343257904 + }, + "else": { + "operation": "boost", + "score": 0.0296923890709877 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04659420996904373 + }, + "else": { + "operation": "boost", + "score": 0.12402036041021347 + } + }, + "else": { + "operation": "boost", + "score": 0.01923173852264881 + } + } + } + }, + "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.06655023992061615 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0373697429895401 + }, + "else": { + "operation": "boost", + "score": 0.081032395362854 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0009308824082836509 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0725817084312439 + }, + "else": { + "operation": "boost", + "score": -0.0318203903734684 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03932011127471924 + }, + "else": { + "operation": "boost", + "score": 0.06544437259435654 + } + } + }, + "else": { + "operation": "boost", + "score": 0.007584542501717806 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.008282598108053207 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.04215722158551216 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.06146110221743584 + }, + "else": { + "operation": "boost", + "score": -0.21257536113262177 + } + }, + "else": { + "operation": "boost", + "score": -0.019139455631375313 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0028962939977645874 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Other" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046560849994421005 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.07277175039052963 + } + } + }, + "else": { + "operation": "boost", + "score": -0.026699651032686234 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07781128585338593 + }, + "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": "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": 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.02911611646413803 + }, + "else": { + "operation": "boost", + "score": -0.004159147851169109 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05094810947775841 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009543854743242264 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03677532449364662 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.08445317298173904 + }, + "else": { + "operation": "boost", + "score": 0.048069972544908524 + } + }, + "else": { + "operation": "boost", + "score": 0.06455649435520172 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.08459031581878662 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10188252478837967 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 1.2380902767181396 + }, + "else": { + "operation": "boost", + "score": 0.9985376596450806 + } + }, + "else": { + "operation": "boost", + "score": 0.10950841009616852 + } + } + }, + "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", + "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, + "then": { + "operation": "boost", + "score": -0.07486497610807419 + }, + "else": { + "operation": "boost", + "score": 0.0056477137841284275 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01691959612071514 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0967293530702591 + }, + "else": { + "operation": "boost", + "score": 0.03073098510503769 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11476189643144608 + }, + "else": { + "operation": "boost", + "score": 0.06983580440282822 + } + }, + "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" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004226556979119778 + }, + "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": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07556039839982986 + }, + "else": { + "operation": "boost", + "score": 0.08746176213026047 + } + }, + "else": { + "operation": "boost", + "score": 0.01560981199145317 + } + }, + "else": { + "operation": "boost", + "score": -0.029718415811657906 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03757758438587189 + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0740925744175911 + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "boost", + "score": 0.10226305574178696 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015338664874434471 + }, + "else": { + "operation": "boost", + "score": 0.11272110790014267 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12875093519687653 + }, + "else": { + "operation": "boost", + "score": 0.15125711262226105 + } + }, + "else": { + "operation": "boost", + "score": -0.04555847495794296 + } + }, + "else": { + "operation": "boost", + "score": 0.045935239642858505 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20994678139686584 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08040517568588257 + }, + "else": { + "operation": "boost", + "score": 0.09731429070234299 + } + } + }, + "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_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1617.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.030399944633245468 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3739.5, + "then": { + "operation": "boost", + "score": -0.02680116519331932 + }, + "else": { + "operation": "boost", + "score": 0.12107257544994354 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017552262172102928 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.028401289135217667 + }, + "else": { + "operation": "boost", + "score": -0.001993914134800434 + } + }, + "else": { + "operation": "boost", + "score": -0.16780303418636322 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.028840146958827972 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.05925852805376053 + }, + "else": { + "operation": "boost", + "score": -0.10078582912683487 + } + }, + "else": { + "operation": "boost", + "score": 0.1034853458404541 + } + }, + "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": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, + "then": { + "operation": "boost", + "score": 0.11923921853303909 + }, + "else": { + "operation": "boost", + "score": 0.08883972465991974 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218.5, + "then": { + "operation": "boost", + "score": -0.3161899149417877 + }, + "else": { + "operation": "boost", + "score": 0.08786309510469437 + } + }, + "else": { + "operation": "boost", + "score": -0.07206346839666367 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "boost", + "score": 0.0605398453772068 + }, + "else": { + "operation": "boost", + "score": -0.058603160083293915 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0673561617732048 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.001964583992958069 + } + }, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.04134364798665047 + }, + "else": { + "operation": "boost", + "score": 0.06575041264295578 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.015764929354190826 + }, + "else": { + "operation": "boost", + "score": -0.04528569430112839 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01387112494558096 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0038501403760164976 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004862325731664896 + } + } + } + } + }, + { + "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": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25183.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47123.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "boost", + "score": 0.09810155630111694 + }, + "else": { + "operation": "boost", + "score": 0.011866334825754166 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "then": { + "operation": "boost", + "score": 0.12261221557855606 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015996525064110756 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09968584030866623 + }, + "else": { + "operation": "boost", + "score": 0.060092292726039886 + } + }, + "else": { + "operation": "boost", + "score": 0.10415153950452805 + } + }, + "else": { + "operation": "boost", + "score": 0.07918161898851395 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61387.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101752.5, + "then": { + "operation": "boost", + "score": -0.5894190669059753 + }, + "else": { + "operation": "boost", + "score": 0.10440164059400558 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12481492757797241 + }, + "else": { + "operation": "boost", + "score": 0.11337112635374069 + } + }, + "else": { + "operation": "boost", + "score": 0.05714501440525055 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036969855427742004 + } + }, + "else": { + "operation": "boost", + "score": 0.005474167410284281 + } + }, + "else": { + "operation": "boost", + "score": 0.0019347459310665727 + } + }, + "else": { + "operation": "boost", + "score": -0.024570593610405922 + } + } + }, + "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.02134012244641781 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12239241600036621 + }, + "else": { + "operation": "boost", + "score": 0.002671500202268362 + } + }, + "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": "boost", + "score": 0.059167567640542984 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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, + "then": { + "operation": "boost", + "score": 0.010990913957357407 + }, + "else": { + "operation": "boost", + "score": 0.3363988995552063 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": -0.21804580092430115 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16098.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.055383339524269104 + } + }, + "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 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.055919498205184937 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6075.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6694.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.006376872304826975 + }, + "else": { + "operation": "boost", + "score": 0.035673681646585464 + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10866610705852509 + }, + "else": { + "operation": "boost", + "score": 0.11714787036180496 + } + } + }, + "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 + } + } + } + }, + "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.06272605061531067 + }, + "else": { + "operation": "boost", + "score": 0.020091403275728226 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09693458676338196 + }, + "else": { + "operation": "boost", + "score": 0.11878207325935364 + } + }, + "else": { + "operation": "boost", + "score": -0.22176170349121094 + } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029191499575972557 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7110.5, + "then": { + "operation": "boost", + "score": 0.09832470864057541 + }, + "else": { + "operation": "boost", + "score": 0.09385371208190918 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09079630672931671 + }, + "else": { + "operation": "boost", + "score": -0.05993582680821419 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1000.0, + "then": { + "operation": "boost", + "score": 0.01646484062075615 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 825.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 851.5, + "then": { + "operation": "boost", + "score": 0.05967246741056442 + }, + "else": { + "operation": "boost", + "score": 0.15215981006622314 + } + }, + "else": { + "operation": "boost", + "score": 0.03908896818757057 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00024089435464702547 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01964142732322216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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" + ], + "then": { + "operation": "boost", + "score": 0.03958594426512718 + }, + "else": { + "operation": "boost", + "score": -0.1170966774225235 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 730.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 827.5, + "then": { + "operation": "boost", + "score": 0.03954070806503296 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 810.5, + "then": { + "operation": "boost", + "score": 0.11935669928789139 + }, + "else": { + "operation": "boost", + "score": 0.04483785107731819 + } + } + }, + "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": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.016848675906658173 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.15161867439746857 + }, + "else": { + "operation": "boost", + "score": -0.15450072288513184 + } + }, + "else": { + "operation": "boost", + "score": 0.11633189767599106 + } + }, + "else": { + "operation": "boost", + "score": 0.05303623527288437 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 141.0, + "then": { + "operation": "boost", + "score": -0.42889928817749023 + }, + "else": { + "operation": "boost", + "score": 0.11238259077072144 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.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 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 194.5, + "then": { + "operation": "boost", + "score": 0.12860217690467834 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11046049743890762 + }, + "else": { + "operation": "boost", + "score": -0.11876095831394196 + } + }, + "else": { + "operation": "boost", + "score": 0.10470907390117645 + } + }, + "else": { + "operation": "boost", + "score": 0.002695538802072406 + } + }, + "else": { + "operation": "boost", + "score": 0.11354734003543854 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.03226352483034134 + }, + "else": { + "operation": "boost", + "score": 0.12020592391490936 + } + }, + "else": { + "operation": "boost", + "score": 0.0051290239207446575 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.049042366445064545 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.0018341218819841743 + }, + "else": { + "operation": "boost", + "score": -0.2700214385986328 + } + }, + "else": { + "operation": "boost", + "score": 0.13187238574028015 + } + }, + "else": { + "operation": "boost", + "score": -0.13926011323928833 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.117327019572258 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03892190009355545 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09557165205478668 + }, + "else": { + "operation": "boost", + "score": 0.0 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10220466554164886 + }, + "else": { + "operation": "boost", + "score": -0.20265379548072815 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14403.0, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "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.04202987626194954 + }, + "else": { + "operation": "boost", + "score": -0.23003634810447693 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1005038395524025 + }, + "else": { + "operation": "boost", + "score": 0.09750872850418091 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.08917178958654404 + }, + "else": { + "operation": "boost", + "score": 0.13103127479553223 + } + }, + "else": { + "operation": "boost", + "score": 0.1096140667796135 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05900292471051216 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.0667666494846344 + }, + "else": { + "operation": "boost", + "score": -0.3104546368122101 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01824496127665043 + }, + "else": { + "operation": "boost", + "score": -0.006377010140568018 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005402326583862305 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.042664166539907455 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13607878983020782 + }, + "else": { + "operation": "boost", + "score": 0.04872605577111244 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009014285169541836 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.059238795191049576 + }, + "else": { + "operation": "boost", + "score": 0.06545387208461761 + } + }, + "else": { + "operation": "boost", + "score": -0.06122865900397301 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.000607839145231992 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.009477255865931511 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 228.0, + "then": { + "operation": "boost", + "score": 0.0047930884175002575 + }, + "else": { + "operation": "boost", + "score": 0.10219801217317581 + } + }, + "else": { + "operation": "boost", + "score": -0.38394516706466675 + } + }, + "else": { + "operation": "boost", + "score": 0.10640936344861984 + } + }, + "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": 1.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, + "then": { + "operation": "boost", + "score": 0.08299616724252701 + }, + "else": { + "operation": "boost", + "score": -0.06760644912719727 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": -0.6346828937530518 + }, + "else": { + "operation": "boost", + "score": 0.002805237891152501 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.22069011628627777 + }, + "else": { + "operation": "boost", + "score": -0.06970298290252686 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.014744274318218231 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.04143640771508217 + }, + "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 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "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": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.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, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.1097671389579773 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2989.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2990.5, + "then": { + "operation": "boost", + "score": 0.03269487991929054 + }, + "else": { + "operation": "boost", + "score": 0.11258655786514282 + } + }, + "else": { + "operation": "boost", + "score": -0.00021745967387687415 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0027728495188057423 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30340.5, + "then": { + "operation": "boost", + "score": -0.07337040454149246 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 269.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5500.5, + "then": { + "operation": "boost", + "score": 0.0765078216791153 + }, + "else": { + "operation": "boost", + "score": 0.023482684046030045 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0924859493970871 + }, + "else": { + "operation": "boost", + "score": 0.1487026959657669 + } + }, + "else": { + "operation": "boost", + "score": -0.16092436015605927 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008603214286267757 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03168920427560806 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6249.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054532554000616074 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28537.0, + "then": { + "operation": "boost", + "score": 0.17109069228172302 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "boost", + "score": -0.13723327219486237 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10052753984928131 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1413373202085495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 217.5, + "then": { + "operation": "boost", + "score": -0.2726578116416931 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 157.0, + "then": { + "operation": "boost", + "score": 0.12431886047124863 + }, + "else": { + "operation": "boost", + "score": 0.2725687026977539 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07530299574136734 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.2234954833984375 + }, + "else": { + "operation": "boost", + "score": 0.11862820386886597 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3947.5, + "then": { + "operation": "boost", + "score": -0.018844567239284515 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2398.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2403.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2414.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.06849567592144012 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.14712689816951752 + }, + "else": { + "operation": "boost", + "score": 0.1036573275923729 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12232425063848495 + }, + "else": { + "operation": "boost", + "score": -0.10630753636360168 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0013850410468876362 + } + }, + "else": { + "operation": "boost", + "score": -0.020691614598035812 + } + } + } + } + } + } + }, + "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, + "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": "boost", + "score": 0.11882497370243073 + }, + "else": { + "operation": "boost", + "score": -0.11682456731796265 + } + }, + "else": { + "operation": "boost", + "score": -0.03919879347085953 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07606064528226852 + } + }, + "else": { + "operation": "boost", + "score": -2.0646886696340516e-05 + } + }, + "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": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.03244177997112274 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.114902563393116 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.004954122006893158 + }, + "else": { + "operation": "boost", + "score": -0.048149473965168 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "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_Type" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4139.0, + "then": { + "operation": "boost", + "score": 0.14247660338878632 + }, + "else": { + "operation": "boost", + "score": 0.10630720108747482 + } + } + }, + "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": 35.5, + "then": { + "operation": "boost", + "score": 0.12817257642745972 + }, + "else": { + "operation": "boost", + "score": 0.0913764089345932 + } + }, + "else": { + "operation": "boost", + "score": -0.26743167638778687 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12037523090839386 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.5, + "then": { + "operation": "boost", + "score": 0.05124205723404884 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0398113913834095 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05060039833188057 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015184263698756695 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.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": 5.5, + "then": { + "operation": "boost", + "score": 0.083086758852005 + }, + "else": { + "operation": "boost", + "score": 0.11384690552949905 + } + }, + "else": { + "operation": "boost", + "score": 0.10604092478752136 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": 0.03324894979596138 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.033533573150634766 + }, + "else": { + "operation": "boost", + "score": 0.12265348434448242 + } + }, + "else": { + "operation": "boost", + "score": 0.05020403861999512 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0065429480746388435 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.7742748856544495 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08067341893911362 + }, + "else": { + "operation": "boost", + "score": 0.1137913390994072 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06753874570131302 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108163.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018454428762197495 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.016948822885751724 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12169133126735687 + }, + "else": { + "operation": "boost", + "score": 0.08411859720945358 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06940819323062897 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09872189164161682 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11476829648017883 + }, + "else": { + "operation": "boost", + "score": 0.08750567585229874 + } + } + } + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11278096586465836 + }, + "else": { + "operation": "boost", + "score": 0.0567585825920105 + } + }, + "else": { + "operation": "boost", + "score": -0.031655024737119675 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07090127468109131 + }, + "else": { + "operation": "boost", + "score": 0.11724122613668442 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12297601252794266 + }, + "else": { + "operation": "boost", + "score": 0.11373347789049149 + } + }, + "else": { + "operation": "boost", + "score": 0.053482700139284134 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.9039984345436096 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10438466817140579 + }, + "else": { + "operation": "boost", + "score": -0.09982775896787643 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19436.5, + "then": { + "operation": "boost", + "score": -0.1554637849330902 + }, + "else": { + "operation": "boost", + "score": 0.11602090299129486 + } + }, + "else": { + "operation": "boost", + "score": 0.04829789698123932 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.13534089922904968 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8428.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9813.0, + "then": { + "operation": "boost", + "score": 0.060892730951309204 + }, + "else": { + "operation": "boost", + "score": 0.11729642748832703 + } + }, + "else": { + "operation": "boost", + "score": -0.08359099179506302 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4286.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.2564994692802429 + }, + "else": { + "operation": "boost", + "score": 0.12559430301189423 + } + }, + "else": { + "operation": "boost", + "score": 0.05121724307537079 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_ClassOrStructTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6075.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6694.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.011972049251198769 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14181.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18618.0, + "then": { + "operation": "boost", + "score": 0.044550515711307526 + }, + "else": { + "operation": "boost", + "score": -0.05153746157884598 + } + }, + "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 + } + } + } + } + }, + "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.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6101.5, + "then": { + "operation": "boost", + "score": 0.054573945701122284 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.13375145196914673 + }, + "else": { + "operation": "boost", + "score": 0.04362785443663597 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020891845226287842 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7222.0, + "then": { + "operation": "boost", + "score": 0.08254891633987427 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4794.0, + "then": { + "operation": "boost", + "score": -0.2055264115333557 + }, + "else": { + "operation": "boost", + "score": 0.09322960674762726 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.003950942773371935 + }, + "else": { + "operation": "boost", + "score": -0.15835323929786682 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10824655741453171 + }, + "else": { + "operation": "boost", + "score": 0.1156885176897049 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12915179133415222 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3234.0, + "then": { + "operation": "boost", + "score": 0.10036996006965637 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04262692108750343 + }, + "else": { + "operation": "boost", + "score": -0.2166316658258438 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015248425304889679 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3201.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3536.0, + "then": { + "operation": "boost", + "score": 0.062357306480407715 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.02294127084314823 + }, + "else": { + "operation": "boost", + "score": 0.1204322800040245 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11409802734851837 + }, + "else": { + "operation": "boost", + "score": 0.11527402698993683 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 431.0, + "then": { + "operation": "boost", + "score": 0.05546077340841293 + }, + "else": { + "operation": "boost", + "score": 0.11030831933021545 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 708.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.07258779555559158 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 592.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 608.0, + "then": { + "operation": "boost", + "score": 0.2593362629413605 + }, + "else": { + "operation": "boost", + "score": 0.1025790199637413 + } + }, + "else": { + "operation": "boost", + "score": 0.05909004062414169 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012337777763605118 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.1591009795665741 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10944022983312607 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1804.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1849.5, + "then": { + "operation": "boost", + "score": 0.10281551629304886 + }, + "else": { + "operation": "boost", + "score": 0.13755877315998077 + } + }, + "else": { + "operation": "boost", + "score": 0.07264932245016098 + } + } + }, + "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 + } + } + } + } + } + }, + "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.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1150582805275917 + }, + "else": { + "operation": "boost", + "score": -0.11815197765827179 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.003058134810999036 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 664.0, + "then": { + "operation": "boost", + "score": 0.03260723873972893 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59476.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61155.5, + "then": { + "operation": "boost", + "score": 0.023230304941534996 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10157117247581482 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0959043875336647 + }, + "else": { + "operation": "boost", + "score": -0.030727935954928398 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31292.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 0.05794379115104675 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26715.0, + "then": { + "operation": "boost", + "score": -0.003762762760743499 + }, + "else": { + "operation": "boost", + "score": 0.10225151479244232 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00029336713487282395 + } + } + }, + "else": { + "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_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "boost", + "score": 0.03745453804731369 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234371.5, + "then": { + "operation": "boost", + "score": -0.09245730191469193 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49656.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53585.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09549408406019211 + }, + "else": { + "operation": "boost", + "score": 0.05031818524003029 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34626.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 + } + }, + "else": { + "operation": "boost", + "score": 0.010163111612200737 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05141274258494377 + } + } + } + }, + "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.10744855552911758 + }, + "else": { + "operation": "boost", + "score": 0.10228487104177475 + } + }, + "else": { + "operation": "boost", + "score": -0.08264078199863434 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0703543946146965 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.009978161193430424 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8621.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12508.5, + "then": { + "operation": "boost", + "score": 0.10603135824203491 + }, + "else": { + "operation": "boost", + "score": 0.13700173795223236 + } + }, + "else": { + "operation": "boost", + "score": -0.1129859983921051 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18335.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20562.0, + "then": { + "operation": "boost", + "score": -0.016747139394283295 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20410.5, + "then": { + "operation": "boost", + "score": 0.10488632321357727 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.2353956252336502 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.07118043303489685 + }, + "else": { + "operation": "boost", + "score": 0.09756777435541153 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20206.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20410.5, + "then": { + "operation": "boost", + "score": 7.802116670063697e-06 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.045018140226602554 + }, + "else": { + "operation": "boost", + "score": 0.10234195739030838 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017929207533597946 + } + } + } + }, + "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": "boost", + "score": 0.09333177655935287 + }, + "else": { + "operation": "boost", + "score": -0.10567639768123627 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5174.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5255.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11690637469291687 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09697990864515305 + }, + "else": { + "operation": "boost", + "score": 0.11632303148508072 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05542761832475662 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054980289191007614 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "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, + "then": { + "operation": "boost", + "score": -0.11627782881259918 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9251.0, + "then": { + "operation": "boost", + "score": 0.0804811641573906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6974.5, + "then": { + "operation": "boost", + "score": 0.11186450719833374 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4438.0, + "then": { + "operation": "boost", + "score": -0.18128137290477753 + }, + "else": { + "operation": "boost", + "score": 0.11346251517534256 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.047496385872364044 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.03995298221707344 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7142.0, + "then": { + "operation": "boost", + "score": 0.14057978987693787 + }, + "else": { + "operation": "boost", + "score": 0.04979684203863144 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4290.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": -0.17189674079418182 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19362.0, + "then": { + "operation": "boost", + "score": -0.212712362408638 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19035.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1152312383055687 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1055559515953064 + }, + "else": { + "operation": "boost", + "score": 0.09486942738294601 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14599.5, + "then": { + "operation": "boost", + "score": -0.09509056061506271 + }, + "else": { + "operation": "boost", + "score": 0.05024717375636101 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.05099934712052345 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05435190349817276 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6281.5, + "then": { + "operation": "boost", + "score": 0.01915617287158966 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6046.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.016999714076519012 + }, + "else": { + "operation": "boost", + "score": 0.18644241988658905 + } + }, + "else": { + "operation": "boost", + "score": 0.06469376385211945 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06851308792829514 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07288559526205063 + }, + "else": { + "operation": "boost", + "score": 0.04929809644818306 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.47759929299354553 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.05005718022584915 + }, + "else": { + "operation": "boost", + "score": -0.028615577146410942 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.07373996078968048 + } + }, + "else": { + "operation": "boost", + "score": -0.004614636301994324 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12844203412532806 + }, + "else": { + "operation": "boost", + "score": 0.2296874076128006 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11735957860946655 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.07596495002508163 + }, + "else": { + "operation": "boost", + "score": 0.12067021429538727 + } + }, + "else": { + "operation": "boost", + "score": 0.11076046526432037 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.15778501331806183 + } + }, + "else": { + "operation": "boost", + "score": -0.4710069000720978 + } + } + }, + "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 + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22423.0, + "then": { + "operation": "boost", + "score": 0.1077362671494484 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.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.007510566618293524 + }, + "else": { + "operation": "boost", + "score": 0.10811742395162582 + } + }, + "else": { + "operation": "boost", + "score": -0.11560244858264923 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0027768327854573727 + } + }, + "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", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10569202899932861 + }, + "else": { + "operation": "boost", + "score": -0.1441674530506134 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10940.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.06173112615942955 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14437.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "then": { + "operation": "boost", + "score": 0.025598766282200813 + }, + "else": { + "operation": "boost", + "score": 0.10961578786373138 + } + }, + "else": { + "operation": "boost", + "score": 0.10883428901433945 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.2193191796541214 + }, + "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, + "then": { + "operation": "boost", + "score": -0.07319876551628113 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11971175670623779 + }, + "else": { + "operation": "boost", + "score": 0.11381884664297104 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04271163418889046 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02909509837627411 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.13179799914360046 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1121.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1136.5, + "then": { + "operation": "boost", + "score": 0.02449718490242958 + }, + "else": { + "operation": "boost", + "score": 0.10362952947616577 + } + }, + "else": { + "operation": "boost", + "score": -0.05043572932481766 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01173244696110487 + }, + "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.008660633116960526 + }, + "else": { + "operation": "boost", + "score": 0.07437869161367416 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.05933687090873718 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10694153606891632 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1574748158454895 + }, + "else": { + "operation": "boost", + "score": 0.09718272089958191 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.028973691165447235 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10264923423528671 + }, + "else": { + "operation": "boost", + "score": 0.08868037909269333 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.08262842148542404 + }, + "else": { + "operation": "boost", + "score": 0.09128541499376297 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.008460498414933681 + }, + "else": { + "operation": "boost", + "score": 0.0670708417892456 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07819245755672455 + } + } + } + } + }, + "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, + "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": { + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11441449075937271 + } + }, + "else": { + "operation": "boost", + "score": 0.012793047353625298 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.017626797780394554 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.02886507287621498 + }, + "else": { + "operation": "boost", + "score": -0.010020390152931213 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10439687967300415 + }, + "else": { + "operation": "boost", + "score": -0.013207283802330494 + } + }, + "else": { + "operation": "boost", + "score": -0.006564043462276459 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1070670560002327 + }, + "else": { + "operation": "boost", + "score": 0.05782157927751541 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.09245165437459946 + }, + "else": { + "operation": "boost", + "score": 0.04887270927429199 + } + } + }, + "else": { + "operation": "boost", + "score": -0.020155709236860275 + } + }, + "else": { + "operation": "boost", + "score": -0.3761533200740814 + } + } + } + } + } + }, + { + "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": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63356.5, + "then": { + "operation": "boost", + "score": 0.10089026391506195 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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.1367950141429901 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.011173686012625694 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1213434636592865 + }, + "else": { + "operation": "boost", + "score": 0.12843796610832214 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "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": 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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.11927878856658936 + }, + "else": { + "operation": "boost", + "score": 0.109782874584198 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06631950289011002 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 387.5, + "then": { + "operation": "boost", + "score": -0.20080755650997162 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.11758439987897873 + }, + "else": { + "operation": "boost", + "score": 0.059647202491760254 + } + } + }, + "else": { + "operation": "boost", + "score": -0.029441451653838158 + } + }, + "else": { + "operation": "boost", + "score": 0.06855136156082153 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25329.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08035027235746384 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.03379105404019356 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.0, + "then": { + "operation": "boost", + "score": 0.20799462497234344 + }, + "else": { + "operation": "boost", + "score": 0.15500596165657043 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.34187084436416626 + } + }, + "else": { + "operation": "boost", + "score": -0.026426466181874275 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0026329730171710253 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.037331365048885345 + }, + "else": { + "operation": "boost", + "score": 0.11347687244415283 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007258286699652672 + } + } + }, + "else": { + "operation": "boost", + "score": -0.034765586256980896 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0372757725417614 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.02036410942673683 + }, + "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": "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_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.11609864234924316 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11497385054826736 + }, + "else": { + "operation": "boost", + "score": 0.08823183923959732 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.15263955295085907 + }, + "else": { + "operation": "boost", + "score": 0.12875306606292725 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11786417663097382 + }, + "else": { + "operation": "boost", + "score": 0.11914899945259094 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0661197379231453 + } + } + }, + "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_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11283492296934128 + }, + "else": { + "operation": "boost", + "score": 0.061338718980550766 + } + }, + "else": { + "operation": "boost", + "score": 0.015864532440900803 + } + }, + "else": { + "operation": "boost", + "score": 0.09139621257781982 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08509784936904907 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.041180528700351715 + }, + "else": { + "operation": "boost", + "score": -0.05439373850822449 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.13252638280391693 + }, + "else": { + "operation": "boost", + "score": -0.00023879499349277467 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0047856648452579975 + }, + "else": { + "operation": "boost", + "score": -0.12137547135353088 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0135847432538867 + }, + "else": { + "operation": "boost", + "score": -0.04092635586857796 + } + }, + "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.017098071053624153 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.014437985606491566 + }, + "else": { + "operation": "boost", + "score": -0.09408604353666306 + } + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010109014809131622 + } + }, + "else": { + "operation": "boost", + "score": 0.0025178089272230864 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029501480981707573 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 8.838659414323047e-05 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.03138871118426323 + }, + "else": { + "operation": "boost", + "score": -0.031134290620684624 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07051664590835571 + }, + "else": { + "operation": "boost", + "score": 0.031619906425476074 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013656574301421642 + }, + "else": { + "operation": "boost", + "score": -0.002182289259508252 + } + } + } + } + } + } + }, + "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": 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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0421304814517498 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.052044156938791275 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13916759192943573 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08850956708192825 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10480989515781403 + }, + "else": { + "operation": "boost", + "score": 0.11193714290857315 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.017445307224988937 + }, + "else": { + "operation": "boost", + "score": -0.013647153973579407 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.019972972571849823 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03213193267583847 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06886796653270721 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20708.0, + "then": { + "operation": "boost", + "score": -0.13109558820724487 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.028996620327234268 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20410.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04107561707496643 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1072661355137825 + }, + "else": { + "operation": "boost", + "score": 0.26414981484413147 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.05625530332326889 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18335.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.06590637564659119 + }, + "else": { + "operation": "boost", + "score": 0.09575600177049637 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5839.5, + "then": { + "operation": "boost", + "score": -0.1246432289481163 + }, + "else": { + "operation": "boost", + "score": 0.10452329367399216 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07336284965276718 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6150.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6592.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11210912466049194 + }, + "else": { + "operation": "boost", + "score": -0.16157284379005432 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.008892516605556011 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10415.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10549374669790268 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11462907493114471 + }, + "else": { + "operation": "boost", + "score": 0.08561906218528748 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04933226853609085 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6435.0, + "then": { + "operation": "boost", + "score": 0.10385908931493759 + }, + "else": { + "operation": "boost", + "score": 0.04934420809149742 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.034910544753074646 + }, + "else": { + "operation": "boost", + "score": 0.13240809738636017 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00946429930627346 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.03545086085796356 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7142.0, + "then": { + "operation": "boost", + "score": 0.13875266909599304 + }, + "else": { + "operation": "boost", + "score": 0.06330163031816483 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19362.0, + "then": { + "operation": "boost", + "score": -0.17633482813835144 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19035.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11391901969909668 + }, + "else": { + "operation": "boost", + "score": 0.08127114176750183 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.057071834802627563 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.3564896881580353 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10905.0, + "then": { + "operation": "boost", + "score": 0.12581785023212433 + }, + "else": { + "operation": "boost", + "score": -0.5276732444763184 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06674273312091827 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4286.0, + "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, + "then": { + "operation": "boost", + "score": 0.039231978356838226 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4138.5, + "then": { + "operation": "boost", + "score": 0.10810945183038712 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.045672569423913956 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.11650656163692474 + }, + "else": { + "operation": "boost", + "score": 0.08177491277456284 + } + }, + "else": { + "operation": "boost", + "score": -0.009684029035270214 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10878464579582214 + } + }, + "else": { + "operation": "boost", + "score": -0.006695076357573271 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21123.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03431803360581398 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.09167295694351196 + }, + "else": { + "operation": "boost", + "score": 0.109439916908741 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07071076333522797 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22681.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00542348762974143 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12637361884117126 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3234.0, + "then": { + "operation": "boost", + "score": 0.09907526522874832 + }, + "else": { + "operation": "boost", + "score": 0.013149888254702091 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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, + "then": { + "operation": "boost", + "score": 0.05947503075003624 + }, + "else": { + "operation": "boost", + "score": 0.10788695514202118 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 708.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, + "then": { + "operation": "boost", + "score": 0.11427578330039978 + }, + "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.07794862240552902 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 671.0, + "then": { + "operation": "boost", + "score": 0.1054108738899231 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 955.0, + "then": { + "operation": "boost", + "score": 0.04558918625116348 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.15247760713100433 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.14806115627288818 + }, + "else": { + "operation": "boost", + "score": 0.11686429381370544 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.030539685860276222 + } + } + }, + "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 + } + } + } + } + } + }, + "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": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.03262138366699219 + }, + "else": { + "operation": "boost", + "score": -0.12715409696102142 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7543.0, + "then": { + "operation": "boost", + "score": 0.051230769604444504 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6955.5, + "then": { + "operation": "boost", + "score": 0.13625580072402954 + }, + "else": { + "operation": "boost", + "score": -0.05636241286993027 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01068774051964283 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 524.0, + "then": { + "operation": "boost", + "score": 0.059089675545692444 + }, + "else": { + "operation": "boost", + "score": 0.08884221315383911 + } + }, + "else": { + "operation": "boost", + "score": -0.006124476436525583 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003837714670225978 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006872172234579921 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3207.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.03019004687666893 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3454.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06493683159351349 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15847811102867126 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12753498554229736 + } + }, + "else": { + "operation": "boost", + "score": 0.010716138407588005 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09343675523996353 + }, + "else": { + "operation": "boost", + "score": 0.010331034660339355 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.053512368351221085 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.685397207736969 + }, + "else": { + "operation": "boost", + "score": 0.09577930718660355 + } + }, + "else": { + "operation": "boost", + "score": -0.0023798546753823757 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39401.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.024554820731282234 + }, + "else": { + "operation": "boost", + "score": 0.10700645297765732 + } + }, + "else": { + "operation": "boost", + "score": 0.022853940725326538 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "boost", + "score": -0.01952960714697838 + }, + "else": { + "operation": "boost", + "score": -0.21556347608566284 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 308.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0939425379037857 + }, + "else": { + "operation": "boost", + "score": -0.31065279245376587 + } + }, + "else": { + "operation": "boost", + "score": -0.05322522297501564 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2889360785484314 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 503.0, + "then": { + "operation": "boost", + "score": 0.04942836984992027 + }, + "else": { + "operation": "boost", + "score": 0.09507041424512863 + } + } + } + }, + "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" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02643582783639431 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.09567521512508392 + }, + "else": { + "operation": "boost", + "score": 0.12996521592140198 + } + }, + "else": { + "operation": "boost", + "score": -0.10678871721029282 + } + } + }, + "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", + "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": 18.5, + "then": { + "operation": "boost", + "score": -0.31230318546295166 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.004500705748796463 + }, + "else": { + "operation": "boost", + "score": -0.08081173151731491 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10150878131389618 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.0, + "then": { + "operation": "boost", + "score": 0.41834399104118347 + }, + "else": { + "operation": "boost", + "score": 0.1301994025707245 + } + }, + "else": { + "operation": "boost", + "score": -0.032607175409793854 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.145268976688385 + }, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13352571427822113 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.10493486374616623 + }, + "else": { + "operation": "boost", + "score": 0.11158931255340576 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.0, + "then": { + "operation": "boost", + "score": 0.07490348070859909 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.23552459478378296 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.21674828231334686 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.0, + "then": { + "operation": "boost", + "score": -0.616887092590332 + }, + "else": { + "operation": "boost", + "score": 0.06628531962633133 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11713437736034393 + }, + "else": { + "operation": "boost", + "score": 0.2267863005399704 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.044381044805049896 + }, + "else": { + "operation": "boost", + "score": 0.14620926976203918 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.09037066996097565 + }, + "else": { + "operation": "boost", + "score": -0.06320878863334656 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05989817902445793 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "boost", + "score": -0.11323428899049759 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.14700493216514587 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011304355226457119 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12826870381832123 + } + }, + "else": { + "operation": "boost", + "score": 0.02276722900569439 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.022589584812521935 + }, + "else": { + "operation": "boost", + "score": -0.08682337403297424 + } + }, + "else": { + "operation": "boost", + "score": 0.007985895499587059 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.03432682156562805 + }, + "else": { + "operation": "boost", + "score": -0.10557202249765396 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.019612520933151245 + } + } + }, + "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": -0.5, + "then": { + "operation": "boost", + "score": -0.19200602173805237 + }, + "else": { + "operation": "boost", + "score": 0.07811111211776733 + } + }, + "else": { + "operation": "boost", + "score": -0.11989904940128326 + } + }, + "else": { + "operation": "boost", + "score": -0.05637986585497856 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08121204376220703 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10544083267450333 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.007863426581025124 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01809586025774479 + }, + "else": { + "operation": "boost", + "score": 0.0073074414394795895 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.004268393386155367 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.03205565735697746 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.049979399889707565 + }, + "else": { + "operation": "boost", + "score": -0.16864196956157684 + } + }, + "else": { + "operation": "boost", + "score": -0.025233544409275055 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03047066368162632 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "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_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049401894211769104 + }, + "else": { + "operation": "boost", + "score": 0.08045333623886108 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11276739090681076 + }, + "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, + "then": { + "operation": "boost", + "score": 0.12084515392780304 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07950844615697861 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03389713540673256 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003934226930141449 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08528459072113037 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.020203126594424248 + }, + "else": { + "operation": "boost", + "score": 0.10762926191091537 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09458748996257782 + }, + "else": { + "operation": "boost", + "score": 0.1149306669831276 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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.02561279758810997 + }, + "else": { + "operation": "boost", + "score": -0.0005681586335413158 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.018649470061063766 + }, + "else": { + "operation": "boost", + "score": 0.06408890336751938 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018778741359710693 + } + }, + "else": { + "operation": "boost", + "score": 0.00625722436234355 + } + } + }, + "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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023206481710076332 + }, + "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_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 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020639749243855476 + }, + "else": { + "operation": "boost", + "score": 0.052275337278842926 + } + }, + "else": { + "operation": "boost", + "score": 0.01148530375212431 + } + }, + "else": { + "operation": "boost", + "score": -0.015240454114973545 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06463862210512161 + }, + "else": { + "operation": "boost", + "score": 0.008175655268132687 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2001781463623047 + }, + "else": { + "operation": "boost", + "score": -0.07195653021335602 + } + } + } + }, + "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, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.017603034153580666 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03232429549098015 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10237088799476624 + }, + "else": { + "operation": "boost", + "score": 0.09954092651605606 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07480590790510178 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10646186769008636 + }, + "else": { + "operation": "boost", + "score": 0.23147575557231903 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09656397253274918 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.11516261845827103 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06776288151741028 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.10839780420064926 + }, + "else": { + "operation": "boost", + "score": 0.07426582276821136 + } + }, + "else": { + "operation": "boost", + "score": -0.0036573726683855057 + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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": "boost", + "score": 0.024487314745783806 + }, + "else": { + "operation": "boost", + "score": -0.24687622487545013 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11891351640224457 + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.054005030542612076 + }, + "else": { + "operation": "boost", + "score": 0.12941522896289825 + } + }, + "else": { + "operation": "boost", + "score": 0.02815825492143631 + } + }, + "else": { + "operation": "boost", + "score": -0.021090121939778328 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.02595805749297142 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10839461535215378 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.1275281012058258 + }, + "else": { + "operation": "boost", + "score": 0.1183461993932724 + } + }, + "else": { + "operation": "boost", + "score": 0.07268883287906647 + } + }, + "else": { + "operation": "boost", + "score": 0.003999317996203899 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012059463188052177 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.02037198469042778 + }, + "else": { + "operation": "boost", + "score": -0.12175209075212479 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.028552722185850143 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.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" + ], + "then": { + "operation": "boost", + "score": 0.021149976179003716 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1095.5, + "then": { + "operation": "boost", + "score": -0.03037959896028042 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 986.0, + "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 + } + } + }, + "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 + } + } + } + } + } + }, + "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_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.08116026967763901 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.0, + "then": { + "operation": "boost", + "score": -0.03405294194817543 + }, + "else": { + "operation": "boost", + "score": 0.11828576773405075 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.05471596494317055 + }, + "else": { + "operation": "boost", + "score": 0.05635223910212517 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.01532066985964775 + }, + "else": { + "operation": "boost", + "score": -0.048134587705135345 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.04734271392226219 + }, + "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 + } + } + } + } + }, + "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", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05814338102936745 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135000.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12970882654190063 + }, + "else": { + "operation": "boost", + "score": 0.11155012995004654 + } + }, + "else": { + "operation": "boost", + "score": 0.1251402348279953 + } + }, + "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 + } + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": -0.19974781572818756 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "boost", + "score": 0.1146816611289978 + }, + "else": { + "operation": "boost", + "score": -0.004293380305171013 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015119384974241257 + } + }, + "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.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 + } + }, + "else": { + "operation": "boost", + "score": 0.03332582488656044 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1984.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04335498809814453 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.14210455119609833 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2571.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "boost", + "score": -0.5180009603500366 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 1.234650731086731 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08277780562639236 + }, + "else": { + "operation": "boost", + "score": 0.12542514503002167 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08188578486442566 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09934796392917633 + } + }, + "else": { + "operation": "boost", + "score": 0.11151640862226486 + } + } + } + }, + "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, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6261.5, + "then": { + "operation": "boost", + "score": 0.021041264757514 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5352.5, + "then": { + "operation": "boost", + "score": 0.14737224578857422 + }, + "else": { + "operation": "boost", + "score": 0.06862131506204605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10196670889854431 + }, + "else": { + "operation": "boost", + "score": 0.07878807187080383 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10081366449594498 + }, + "else": { + "operation": "boost", + "score": 0.12391935288906097 + } + }, + "else": { + "operation": "boost", + "score": 0.08210331946611404 + } + }, + "else": { + "operation": "boost", + "score": 0.012397967278957367 + } + }, + "else": { + "operation": "boost", + "score": 0.11916999518871307 + } + }, + "else": { + "operation": "boost", + "score": 0.014659532345831394 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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_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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13602527976036072 + }, + "else": { + "operation": "boost", + "score": -0.5523766875267029 + } + }, + "else": { + "operation": "boost", + "score": 0.1204075962305069 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.005071986932307482 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07076982408761978 + }, + "else": { + "operation": "boost", + "score": 0.1081639975309372 + } + }, + "else": { + "operation": "boost", + "score": 0.11634444445371628 + } + }, + "else": { + "operation": "boost", + "score": 0.12632538378238678 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02941322885453701 + } + }, + "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 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.029905492439866066 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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 + } + }, + "else": { + "operation": "boost", + "score": 0.011558571830391884 + } + }, + "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": 705.0, + "then": { + "operation": "boost", + "score": 0.15958765149116516 + }, + "else": { + "operation": "boost", + "score": 0.06733550876379013 + } + }, + "else": { + "operation": "boost", + "score": -0.0050606923177838326 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2298.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2885.5, + "then": { + "operation": "boost", + "score": 0.07199132442474365 + }, + "else": { + "operation": "boost", + "score": 0.1114518940448761 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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": 121.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09970977902412415 + }, + "else": { + "operation": "boost", + "score": -1.6745355129241943 + } + }, + "else": { + "operation": "boost", + "score": -0.25064682960510254 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.03579896688461304 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12350668013095856 + }, + "else": { + "operation": "boost", + "score": 0.12091023474931717 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.11645212024450302 + }, + "else": { + "operation": "boost", + "score": -0.13747090101242065 + } + }, + "else": { + "operation": "boost", + "score": 0.041345857083797455 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188.0, + "then": { + "operation": "boost", + "score": 0.015594132244586945 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": 0.0964381992816925 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08442322164773941 + }, + "else": { + "operation": "boost", + "score": 0.10268668830394745 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02031002566218376 + } + } + }, + "else": { + "operation": "boost", + "score": -0.031262319535017014 + } + }, + "else": { + "operation": "boost", + "score": -0.059280794113874435 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09565550833940506 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25503.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27413.5, + "then": { + "operation": "boost", + "score": 0.03294261917471886 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1169680505990982 + }, + "else": { + "operation": "boost", + "score": 0.11404198408126831 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019073346629738808 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009232628159224987 + } + }, + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": 0.02211533486843109 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03924911841750145 + }, + "else": { + "operation": "boost", + "score": 0.009217340499162674 + } + }, + "else": { + "operation": "boost", + "score": 0.007609397638589144 + } + } + }, + "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.003565749619156122 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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 + } + }, + "else": { + "operation": "boost", + "score": -0.010587195865809917 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3207.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.029983099550008774 + }, + "else": { + "operation": "boost", + "score": -0.1212221086025238 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10005678981542587 + }, + "else": { + "operation": "boost", + "score": 0.10399732738733292 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "boost", + "score": 0.0011817042250186205 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.11643507331609726 + }, + "else": { + "operation": "boost", + "score": 0.09415657073259354 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007541078608483076 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003860732074826956 + } + }, + "else": { + "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_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 + } + } + } + }, + "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 + } + } + }, + "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": 145.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06781518459320068 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 324.5, + "then": { + "operation": "boost", + "score": 0.06639542430639267 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 246.5, + "then": { + "operation": "boost", + "score": 0.11963359266519547 + }, + "else": { + "operation": "boost", + "score": -0.13865749537944794 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.004492617677897215 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6653.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10900713503360748 + }, + "else": { + "operation": "boost", + "score": 0.11271964013576508 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0934576541185379 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09145604819059372 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.18309982120990753 + }, + "else": { + "operation": "boost", + "score": 0.1156255230307579 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.020746173337101936 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1261.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 + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "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, + "then": { + "operation": "boost", + "score": -0.21986259520053864 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "boost", + "score": 0.10335613042116165 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.022906480357050896 + }, + "else": { + "operation": "boost", + "score": -0.650334894657135 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08996809273958206 + }, + "else": { + "operation": "boost", + "score": 0.10846321284770966 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008062032051384449 + }, + "else": { + "operation": "boost", + "score": 0.10592072457075119 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.017435165122151375 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1098717674612999 + }, + "else": { + "operation": "boost", + "score": 0.10183166712522507 + } + }, + "else": { + "operation": "boost", + "score": -0.5487016439437866 + } + }, + "else": { + "operation": "boost", + "score": -0.20751897990703583 + } + } + } + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.09210126101970673 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0033166254870593548 + }, + "else": { + "operation": "boost", + "score": 0.08878035098314285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.10323374718427658 + }, + "else": { + "operation": "boost", + "score": 0.1168120726943016 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "boost", + "score": 0.052278582006692886 + }, + "else": { + "operation": "boost", + "score": -4.985042095184326 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.14476445317268372 + }, + "else": { + "operation": "boost", + "score": 0.12432316690683365 + } + }, + "else": { + "operation": "boost", + "score": 0.16368968784809113 + } + }, + "else": { + "operation": "boost", + "score": 0.06874685734510422 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04383937641978264 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.1384124755859375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.056671105325222015 + }, + "else": { + "operation": "boost", + "score": 0.1365232616662979 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09813866764307022 + }, + "else": { + "operation": "boost", + "score": -0.2239053100347519 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.10455875843763351 + }, + "else": { + "operation": "boost", + "score": -0.05826142802834511 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05599990114569664 + } + } + } + }, + "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": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.08402487635612488 + }, + "else": { + "operation": "boost", + "score": 0.07302487641572952 + } + }, + "else": { + "operation": "boost", + "score": 0.10929805785417557 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "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_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.26810455322265625 + }, + "else": { + "operation": "boost", + "score": -0.14491170644760132 + } + }, + "else": { + "operation": "boost", + "score": 0.03736716881394386 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12025128304958344 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16706117987632751 + }, + "else": { + "operation": "boost", + "score": 0.020572442561388016 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.055528424680233 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.12138023227453232 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.05888310819864273 + }, + "else": { + "operation": "boost", + "score": 0.12652553617954254 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10855481028556824 + }, + "else": { + "operation": "boost", + "score": -0.11139155924320221 + } + }, + "else": { + "operation": "boost", + "score": 0.1644286960363388 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09572482854127884 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.029476188123226166 + }, + "else": { + "operation": "boost", + "score": 0.11028797924518585 + } + }, + "else": { + "operation": "boost", + "score": -0.1052437573671341 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019713792949914932 + } + }, + "else": { + "operation": "boost", + "score": -0.020860692486166954 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.013457893393933773 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.7611635327339172 + }, + "else": { + "operation": "boost", + "score": -0.02124309539794922 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03203394636511803 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004825448151677847 + } + } + }, + "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.10026821494102478 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.15743033587932587 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1269271969795227 + }, + "else": { + "operation": "boost", + "score": 0.06551168859004974 + } + }, + "else": { + "operation": "boost", + "score": 0.2334471493959427 + } + }, + "else": { + "operation": "boost", + "score": -0.13912160694599152 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23353.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0457727275788784 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31515.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 224557.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.06590214371681213 + }, + "else": { + "operation": "boost", + "score": -0.023232506588101387 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204563.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02821427956223488 + }, + "else": { + "operation": "boost", + "score": 0.059901513159275055 + } + }, + "else": { + "operation": "boost", + "score": -0.08426959067583084 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056133121252059937 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12705114483833313 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.13060174882411957 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09687751531600952 + }, + "else": { + "operation": "boost", + "score": 0.13011762499809265 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0613536462187767 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11923251301050186 + }, + "else": { + "operation": "boost", + "score": 0.1394132673740387 + } + }, + "else": { + "operation": "boost", + "score": 0.06517505645751953 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10880537331104279 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.034730613231658936 + }, + "else": { + "operation": "boost", + "score": -0.14882585406303406 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, + "then": { + "operation": "boost", + "score": 0.010550900362432003 + }, + "else": { + "operation": "boost", + "score": 0.10678549855947495 + } + }, + "else": { + "operation": "boost", + "score": -0.07570446282625198 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10687439143657684 + }, + "else": { + "operation": "boost", + "score": 0.09967973083257675 + } + }, + "else": { + "operation": "boost", + "score": 0.10639474540948868 + } + }, + "else": { + "operation": "boost", + "score": 0.053797777742147446 + } + }, + "else": { + "operation": "boost", + "score": -0.15173958241939545 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07026615738868713 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "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 + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.010236449539661407 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09299387037754059 + }, + "else": { + "operation": "boost", + "score": -0.004296240862458944 + } + }, + "else": { + "operation": "boost", + "score": 0.03897450864315033 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08984749764204025 + } + }, + "else": { + "operation": "boost", + "score": -0.5834327936172485 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.027531003579497337 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18335.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20562.0, + "then": { + "operation": "boost", + "score": -0.005692336708307266 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18613.0, + "then": { + "operation": "boost", + "score": 0.04642946645617485 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10866259038448334 + }, + "else": { + "operation": "boost", + "score": 0.0368061400949955 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20206.5, + "then": { + "operation": "boost", + "score": 0.08706770837306976 + }, + "else": { + "operation": "boost", + "score": 0.04897276312112808 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06323190778493881 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21123.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07666486501693726 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22533.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.057734712958335876 + }, + "else": { + "operation": "boost", + "score": 0.12155716866254807 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.030791452154517174 + }, + "else": { + "operation": "boost", + "score": 0.10901335626840591 + } + }, + "else": { + "operation": "boost", + "score": -0.04269258677959442 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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": "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04742787405848503 + } + }, + "else": { + "operation": "boost", + "score": 0.026892531663179398 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022163260728120804 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0013724868185818195 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 431.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.1800125390291214 + }, + "else": { + "operation": "boost", + "score": 0.10952913761138916 + } + }, + "else": { + "operation": "boost", + "score": -0.18631073832511902 + } + }, + "else": { + "operation": "boost", + "score": 0.026153381913900375 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.5, + "then": { + "operation": "boost", + "score": 0.11562146246433258 + }, + "else": { + "operation": "boost", + "score": -0.2158813774585724 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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": "NumReferences", + "threshold": 204563.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0077985962852835655 + }, + "else": { + "operation": "boost", + "score": 0.16374471783638 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05135786905884743 + }, + "else": { + "operation": "boost", + "score": 0.03270557150244713 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006827620789408684 + } + }, + "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, + "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.09618543833494186 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42846.5, + "then": { + "operation": "boost", + "score": -0.24135100841522217 + }, + "else": { + "operation": "boost", + "score": 0.011639942415058613 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47253.0, + "then": { + "operation": "boost", + "score": 0.11997686326503754 + }, + "else": { + "operation": "boost", + "score": 0.21784289181232452 + } + }, + "else": { + "operation": "boost", + "score": 0.04654939845204353 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.04622894152998924 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07074904441833496 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.15063712000846863 + }, + "else": { + "operation": "boost", + "score": 0.10735955089330673 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.052199747413396835 + } + } + }, + "else": { + "operation": "boost", + "score": 0.5829923748970032 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11342642456293106 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09725932776927948 + }, + "else": { + "operation": "boost", + "score": 0.12953639030456543 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020337127149105072 + } + }, + "else": { + "operation": "boost", + "score": 0.02905496209859848 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "boost", + "score": -0.21847058832645416 + }, + "else": { + "operation": "boost", + "score": -0.034152425825595856 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0090524572879076 + }, + "else": { + "operation": "boost", + "score": -0.03482815623283386 + } + } + }, + "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.004352734889835119 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09968511015176773 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.0060523683205246925 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50004.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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.0176234133541584 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.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 + } + }, + "else": { + "operation": "boost", + "score": -0.022211788222193718 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9626.0, + "then": { + "operation": "boost", + "score": -0.13399183750152588 + }, + "else": { + "operation": "boost", + "score": -0.01815957948565483 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03242751210927963 + }, + "else": { + "operation": "boost", + "score": -0.006409304216504097 + } + }, + "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, + "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": 476.5, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10726579278707504 + }, + "else": { + "operation": "boost", + "score": -0.018631484359502792 + } + }, + "else": { + "operation": "boost", + "score": -0.0021144154015928507 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.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": 8.5, + "then": { + "operation": "boost", + "score": 0.11893528699874878 + }, + "else": { + "operation": "boost", + "score": -0.5845550894737244 + } + }, + "else": { + "operation": "boost", + "score": 0.12071963399648666 + } + }, + "else": { + "operation": "boost", + "score": -0.029358407482504845 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.14523860812187195 + }, + "else": { + "operation": "boost", + "score": 0.10372620820999146 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.18380355834960938 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.14521703124046326 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.012878634966909885 + }, + "else": { + "operation": "boost", + "score": 0.12508201599121094 + } + }, + "else": { + "operation": "boost", + "score": -0.05484713613986969 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.16090039908885956 + }, + "else": { + "operation": "boost", + "score": -0.1562764197587967 + } + }, + "else": { + "operation": "boost", + "score": 0.00318877212703228 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0484963022172451 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006062549073249102 + }, + "else": { + "operation": "boost", + "score": 0.022377150133252144 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09402597695589066 + }, + "else": { + "operation": "boost", + "score": -1.575882911682129 + } + }, + "else": { + "operation": "boost", + "score": -0.1419612169265747 + } + }, + "else": { + "operation": "boost", + "score": -0.041342128068208694 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16362.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30750.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.049334775656461716 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12576.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "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, + "then": { + "operation": "boost", + "score": 0.11009278893470764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13434.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1064324602484703 + }, + "else": { + "operation": "boost", + "score": 0.09677658975124359 + } + }, + "else": { + "operation": "boost", + "score": 0.006396608427166939 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13627.5, + "then": { + "operation": "boost", + "score": 0.01811901107430458 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13590.0, + "then": { + "operation": "boost", + "score": 0.11933550238609314 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9552.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 + } + } + } + }, + "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 + } + } + }, + "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 + } + } + } + } + } + }, + "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.02024376578629017 + }, + "else": { + "operation": "boost", + "score": 0.02212996780872345 + } + }, + "else": { + "operation": "boost", + "score": 0.005566077306866646 + } + }, + "else": { + "operation": "boost", + "score": -0.02047700248658657 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004903547931462526 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008872926700860262 + } + } + }, + { + "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": 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": "boost", + "score": 0.036886412650346756 + }, + "else": { + "operation": "boost", + "score": 0.012580770067870617 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05359742045402527 + }, + "else": { + "operation": "boost", + "score": -0.4973537027835846 + } + }, + "else": { + "operation": "boost", + "score": -0.006991490256041288 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12244772166013718 + }, + "else": { + "operation": "boost", + "score": 0.12429866194725037 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09929929673671722 + } + }, + "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.07040049135684967 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13668324053287506 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.01949448324739933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "boost", + "score": 0.11734221875667572 + }, + "else": { + "operation": "boost", + "score": -0.10737299174070358 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.058143507689237595 + }, + "else": { + "operation": "boost", + "score": 0.11368152499198914 + } + }, + "else": { + "operation": "boost", + "score": -0.0058389934711158276 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02896200679242611 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.08339529484510422 + }, + "else": { + "operation": "boost", + "score": 0.13092848658561707 + } + }, + "else": { + "operation": "boost", + "score": -0.23713938891887665 + } + }, + "else": { + "operation": "boost", + "score": -0.18418551981449127 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1007305458188057 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.051832590252161026 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.032941412180662155 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.13619683682918549 + }, + "else": { + "operation": "boost", + "score": 0.10947531461715698 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123460.5, + "then": { + "operation": "boost", + "score": 0.11340103298425674 + }, + "else": { + "operation": "boost", + "score": 0.11703675240278244 + } + }, + "else": { + "operation": "boost", + "score": 0.3522753417491913 + } + } + }, + "else": { + "operation": "boost", + "score": -0.7488036155700684 + } + }, + "else": { + "operation": "boost", + "score": 0.11901374906301498 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "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": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.051551494747400284 + }, + "else": { + "operation": "boost", + "score": 0.03877411037683487 + } + }, + "else": { + "operation": "boost", + "score": -0.3026961088180542 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.016466805711388588 + }, + "else": { + "operation": "boost", + "score": -0.2606103718280792 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1271846741437912 + }, + "else": { + "operation": "boost", + "score": 0.13524110615253448 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3533896207809448 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.20411387085914612 + }, + "else": { + "operation": "boost", + "score": 0.13202834129333496 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.09911666065454483 + }, + "else": { + "operation": "boost", + "score": 0.11866901814937592 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.35274600982666016 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17985273897647858 + } + } + }, + "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.0008876027422957122 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09751676768064499 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.005629847291857004 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50004.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10003138333559036 + }, + "else": { + "operation": "boost", + "score": -0.1674022227525711 + } + }, + "else": { + "operation": "boost", + "score": -0.08255994319915771 + } + } + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 239.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 251.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.108018659055233 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136.5, + "then": { + "operation": "boost", + "score": -0.16781586408615112 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "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", + "set": [ + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "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.026629135012626648 + }, + "else": { + "operation": "boost", + "score": -0.0015699438517913222 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "boost", + "score": 0.10415639728307724 + }, + "else": { + "operation": "boost", + "score": 0.11464394629001617 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.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, + "then": { + "operation": "boost", + "score": -0.25859707593917847 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.12797316908836365 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.12722811102867126 + }, + "else": { + "operation": "boost", + "score": 0.00555383088067174 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013688973151147366 + } + }, + "else": { + "operation": "boost", + "score": -0.17019717395305634 + } + } + } + } + }, + "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, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11349043250083923 + }, + "else": { + "operation": "boost", + "score": -0.15610620379447937 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12057840824127197 + } + }, + "else": { + "operation": "boost", + "score": 0.006672986317425966 + } + }, + "else": { + "operation": "boost", + "score": 0.04577353969216347 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38757.0, + "then": { + "operation": "boost", + "score": -0.32374757528305054 + }, + "else": { + "operation": "boost", + "score": 0.002033710014075041 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22914.5, + "then": { + "operation": "boost", + "score": -0.29957038164138794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 363.5, + "then": { + "operation": "boost", + "score": 0.003519435878843069 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.012924584560096264 + }, + "else": { + "operation": "boost", + "score": 0.20052334666252136 + } + }, + "else": { + "operation": "boost", + "score": -0.15011538565158844 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 194.5, + "then": { + "operation": "boost", + "score": 0.12956088781356812 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11437634378671646 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10830903053283691 + }, + "else": { + "operation": "boost", + "score": 0.088614322245121 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04792696610093117 + } + } + }, + "else": { + "operation": "boost", + "score": -0.16294941306114197 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 345.5, + "then": { + "operation": "boost", + "score": 0.11299000680446625 + }, + "else": { + "operation": "boost", + "score": 0.09565750509500504 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019082216545939445 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.04421554505825043 + }, + "else": { + "operation": "boost", + "score": 0.006546124815940857 + } + }, + "else": { + "operation": "boost", + "score": -0.012379021383821964 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "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, + "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", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 610.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 889.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10726.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.3587232232093811 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21461.5, + "then": { + "operation": "boost", + "score": 0.05403239279985428 + }, + "else": { + "operation": "boost", + "score": 0.10081563889980316 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014851612038910389 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1209268793463707 + }, + "else": { + "operation": "boost", + "score": -0.004521152004599571 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09505191445350647 + }, + "else": { + "operation": "boost", + "score": 0.10279379785060883 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65729.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.0947500467300415 + }, + "else": { + "operation": "boost", + "score": -0.4714292287826538 + } + }, + "else": { + "operation": "boost", + "score": -1.2276049852371216 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01686129905283451 + }, + "else": { + "operation": "boost", + "score": 0.11693555861711502 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3731021285057068 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009333939291536808 + }, + "else": { + "operation": "boost", + "score": -0.41610613465309143 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10041563957929611 + }, + "else": { + "operation": "boost", + "score": 0.11174564808607101 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.0, + "then": { + "operation": "boost", + "score": 0.05314021185040474 + }, + "else": { + "operation": "boost", + "score": 0.12690331041812897 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.16459716856479645 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.01986805535852909 + }, + "else": { + "operation": "boost", + "score": 0.2168102115392685 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005947191384620965 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4612.5, + "then": { + "operation": "boost", + "score": 0.12866318225860596 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 238.5, + "then": { + "operation": "boost", + "score": -0.2505113184452057 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.7865473628044128 + }, + "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 + } + } + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10840859264135361 + }, + "else": { + "operation": "boost", + "score": 0.10726036131381989 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.012856477871537209 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.024205435067415237 + }, + "else": { + "operation": "boost", + "score": 0.09326304495334625 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1771913766860962 + }, + "else": { + "operation": "boost", + "score": 0.11046552658081055 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.13799148797988892 + }, + "else": { + "operation": "boost", + "score": 0.11387989670038223 + } + }, + "else": { + "operation": "boost", + "score": -0.1640496701002121 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.005439449567347765 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.04228338226675987 + }, + "else": { + "operation": "boost", + "score": 0.10862134397029877 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.014820035547018051 + }, + "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": "boost", + "score": -0.05701398476958275 + }, + "else": { + "operation": "boost", + "score": -0.16310736536979675 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.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" + ], + "then": { + "operation": "boost", + "score": 0.018884576857089996 + }, + "else": { + "operation": "boost", + "score": -0.08979460597038269 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1131991446018219 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": 0.12116503715515137 + }, + "else": { + "operation": "boost", + "score": 0.12476029992103577 + } + }, + "else": { + "operation": "boost", + "score": 0.05429191142320633 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15494009852409363 + } + }, + "else": { + "operation": "boost", + "score": -0.03723417967557907 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.020673135295510292 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10875526070594788 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12791571021080017 + }, + "else": { + "operation": "boost", + "score": -0.10523691773414612 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.1270914375782013 + }, + "else": { + "operation": "boost", + "score": -0.346008837223053 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11038171499967575 + }, + "else": { + "operation": "boost", + "score": 0.2691322863101959 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.19605202972888947 + }, + "else": { + "operation": "boost", + "score": 0.15068234503269196 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04335399344563484 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09717770665884018 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13300995528697968 + }, + "else": { + "operation": "boost", + "score": 0.23705506324768066 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04809797182679176 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14735311269760132 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": 0.09002743661403656 + }, + "else": { + "operation": "boost", + "score": 0.16160421073436737 + } + }, + "else": { + "operation": "boost", + "score": 0.10452531278133392 + } + }, + "else": { + "operation": "boost", + "score": 0.09006766974925995 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04783995822072029 + } + }, + "else": { + "operation": "boost", + "score": 0.015738215297460556 + } + }, + "else": { + "operation": "boost", + "score": -0.1513517051935196 + } + }, + "else": { + "operation": "boost", + "score": 0.022895310074090958 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Keyword", + "Macro" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0072496491484344006 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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 + }, + "else": { + "operation": "boost", + "score": -0.164313405752182 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10111366212368011 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05859017372131348 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08255402743816376 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.0034563811495900154 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.02003803849220276 + }, + "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": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114453.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Other" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.23306286334991455 + } + }, + "else": { + "operation": "boost", + "score": -0.011729204095900059 + } + }, + "else": { + "operation": "boost", + "score": 0.006089833099395037 + } + }, + "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": "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05008234456181526 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03138900548219681 + } + }, + "else": { + "operation": "boost", + "score": 0.019132032990455627 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "boost", + "score": 0.03530014678835869 + }, + "else": { + "operation": "boost", + "score": 0.015443546697497368 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0032496440690010786 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 2.4202965505537577e-05 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019533243030309677 + }, + "else": { + "operation": "boost", + "score": 0.003103461116552353 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.004236965905874968 + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.015568980015814304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.057347897440195084 + }, + "else": { + "operation": "boost", + "score": 0.11429207772016525 + } + }, + "else": { + "operation": "boost", + "score": -0.1139167919754982 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005728366784751415 + } + } + } + }, + "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.04955368489027023 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10168713331222534 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005567097570747137 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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, + "then": { + "operation": "boost", + "score": 0.007232227828353643 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.00220676907338202 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026957720518112183 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04844943806529045 + } + } + }, + "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": "NumReferences", + "threshold": 197.5, + "then": { + "operation": "boost", + "score": 0.100385881960392 + }, + "else": { + "operation": "boost", + "score": 0.0894005224108696 + } + }, + "else": { + "operation": "boost", + "score": -0.05297039821743965 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.04416149482131004 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 529.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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.048667117953300476 + }, + "else": { + "operation": "boost", + "score": 0.028127960860729218 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008123503066599369 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.07796413451433182 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09385167807340622 + }, + "else": { + "operation": "boost", + "score": 0.08277484029531479 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 375849.5, + "then": { + "operation": "boost", + "score": 0.11545509845018387 + }, + "else": { + "operation": "boost", + "score": 0.012380361557006836 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.29228025674819946 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 256304.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1138385683298111 + }, + "else": { + "operation": "boost", + "score": 0.11088249087333679 + } + }, + "else": { + "operation": "boost", + "score": -0.12598226964473724 + } + }, + "else": { + "operation": "boost", + "score": -0.2465052455663681 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1541469544172287 + }, + "else": { + "operation": "boost", + "score": -0.004008747171610594 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16090433299541473 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.07175485789775848 + }, + "else": { + "operation": "boost", + "score": -0.07716066390275955 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01092443522065878 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0062806191854178905 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04824807494878769 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03007330745458603 + }, + "else": { + "operation": "boost", + "score": 0.05948161333799362 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.04785926640033722 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005915036424994469 + }, + "else": { + "operation": "boost", + "score": 0.0925249457359314 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015900570899248123 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62487.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.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 + } + }, + "else": { + "operation": "boost", + "score": 0.09891004115343094 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.3224180340766907 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.25738129019737244 + }, + "else": { + "operation": "boost", + "score": 0.10235228389501572 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0151691734790802 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.163284033536911 + }, + "else": { + "operation": "boost", + "score": 0.1298818439245224 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": -0.09407194703817368 + }, + "else": { + "operation": "boost", + "score": 0.12173563987016678 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.18938249349594116 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.5, + "then": { + "operation": "boost", + "score": 0.13095436990261078 + }, + "else": { + "operation": "boost", + "score": 0.06055384501814842 + } + } + } + }, + "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 + } + } + } + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012669222429394722 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.026514479890465736 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004081185907125473 + } + }, + "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_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08391185104846954 + }, + "else": { + "operation": "boost", + "score": 0.09664853662252426 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12918183207511902 + }, + "else": { + "operation": "boost", + "score": 0.125321626663208 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.1323665976524353 + }, + "else": { + "operation": "boost", + "score": 0.20952501893043518 + } + } + }, + "else": { + "operation": "boost", + "score": -0.16441352665424347 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.048625435680150986 + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05915965884923935 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01591641642153263 + }, + "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, + "then": { + "operation": "boost", + "score": -0.11866122484207153 + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.00915785226970911 + } + }, + "else": { + "operation": "boost", + "score": -0.04979797825217247 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05495264008641243 + }, + "else": { + "operation": "boost", + "score": -0.0038915222976356745 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003625190583989024 + } + } + } + } + } + } + }, + "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.0051231081597507 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.027657946571707726 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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, + "then": { + "operation": "boost", + "score": 0.03195730969309807 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0024459438864141703 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.0535971000790596 + }, + "else": { + "operation": "boost", + "score": 0.10762840509414673 + } + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.18660765886306763 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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, + "then": { + "operation": "boost", + "score": 0.08949686586856842 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "boost", + "score": 0.12449032068252563 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10817670822143555 + }, + "else": { + "operation": "boost", + "score": -0.11166375875473022 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.11383390426635742 + }, + "else": { + "operation": "boost", + "score": 0.1093723475933075 + } + }, + "else": { + "operation": "boost", + "score": 0.5017937421798706 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003025184851139784 + } + } + }, + "else": { + "operation": "boost", + "score": 0.19713792204856873 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22783520817756653 + }, + "else": { + "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": "boost", + "score": 0.01643211953341961 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0866444855928421 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10316739976406097 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01136262807995081 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.23656854033470154 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05378349870443344 + }, + "else": { + "operation": "boost", + "score": 0.11566497385501862 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.05152590572834015 + }, + "else": { + "operation": "boost", + "score": 0.1081981211900711 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06078901141881943 + } + }, + "else": { + "operation": "boost", + "score": -0.24722912907600403 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.007571292109787464 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50010.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10002513229846954 + }, + "else": { + "operation": "boost", + "score": -0.14225061237812042 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.026489224284887314 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12218885123729706 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -2.06154727935791 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16362.0, + "then": { + "operation": "boost", + "score": 0.10324990004301071 + }, + "else": { + "operation": "boost", + "score": -0.010216441936790943 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13189.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13627.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": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.07004314661026001 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10892541706562042 + }, + "else": { + "operation": "boost", + "score": 0.033688902854919434 + } + } + }, + "else": { + "operation": "boost", + "score": -0.019252199679613113 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03851879760622978 + }, + "else": { + "operation": "boost", + "score": 0.14760753512382507 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "boost", + "score": 0.06138027831912041 + }, + "else": { + "operation": "boost", + "score": 0.09467802196741104 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.028117189183831215 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32342.0, + "then": { + "operation": "boost", + "score": -0.18802940845489502 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30750.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { + "operation": "boost", + "score": -0.016627345234155655 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11550357937812805 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.29495301842689514 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.038419365882873535 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10244087129831314 + }, + "else": { + "operation": "boost", + "score": 0.10153410583734512 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7991.0, + "then": { + "operation": "boost", + "score": 0.09700439125299454 + }, + "else": { + "operation": "boost", + "score": -0.10825083404779434 + } + }, + "else": { + "operation": "boost", + "score": 0.11310521513223648 + } + }, + "else": { + "operation": "boost", + "score": -0.005849838722497225 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1230.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 + } + }, + "else": { + "operation": "boost", + "score": -0.06742538511753082 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01764746382832527 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.040967751294374466 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03594272583723068 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.1258559376001358 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.0019690748304128647 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019995829090476036 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11819307506084442 + }, + "else": { + "operation": "boost", + "score": -0.4082106649875641 + } + }, + "else": { + "operation": "boost", + "score": 0.03758450970053673 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0051004160195589066 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008115670643746853 + } + } + }, + { + "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.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3207.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.02746429294347763 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3454.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05791811645030975 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6947.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10172.5, + "then": { + "operation": "boost", + "score": 0.08241197466850281 + }, + "else": { + "operation": "boost", + "score": 0.11404859274625778 + } + }, + "else": { + "operation": "boost", + "score": 0.020699750632047653 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16511711478233337 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010232037864625454 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 424.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.10282232612371445 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129672.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02026466839015484 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148872.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.024549338966608047 + }, + "else": { + "operation": "boost", + "score": -0.7578920722007751 + } + }, + "else": { + "operation": "boost", + "score": 0.08283162862062454 + } + } + }, + "else": { + "operation": "boost", + "score": -0.21570737659931183 + } + }, + "else": { + "operation": "boost", + "score": 0.003872538451105356 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11722041666507721 + }, + "else": { + "operation": "boost", + "score": -0.17589034140110016 + } + }, + "else": { + "operation": "boost", + "score": -0.10526219755411148 + } + } + }, + "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_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16227.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20708.0, + "then": { + "operation": "boost", + "score": -0.12086769938468933 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.026671187952160835 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20206.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02846723608672619 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14032405614852905 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.03098493069410324 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7142.0, + "then": { + "operation": "boost", + "score": 0.13189245760440826 + }, + "else": { + "operation": "boost", + "score": 0.05226994678378105 + } + } + } + } + }, + "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.11823324859142303 + }, + "else": { + "operation": "boost", + "score": -0.10450970381498337 + } + }, + "else": { + "operation": "boost", + "score": -0.10486952215433121 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19362.0, + "then": { + "operation": "boost", + "score": -0.15372391045093536 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19035.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11358688026666641 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11264657229185104 + }, + "else": { + "operation": "boost", + "score": -0.10275890678167343 + } + }, + "else": { + "operation": "boost", + "score": -0.6454867124557495 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14599.5, + "then": { + "operation": "boost", + "score": -0.10158924758434296 + }, + "else": { + "operation": "boost", + "score": 0.04307197034358978 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4286.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.11557407677173615 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.1734788566827774 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.20401886105537415 + }, + "else": { + "operation": "boost", + "score": 0.11762560904026031 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4140.5, + "then": { + "operation": "boost", + "score": 0.029721802100539207 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4138.5, + "then": { + "operation": "boost", + "score": 0.10724319517612457 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09142908453941345 + }, + "else": { + "operation": "boost", + "score": -0.013204404152929783 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19362.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19474.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.06194213777780533 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19617.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19792.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09901595860719681 + }, + "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", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.11113294214010239 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.118867889046669 + }, + "else": { + "operation": "boost", + "score": 0.1345231980085373 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22681.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09683194011449814 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.10529522597789764 + }, + "else": { + "operation": "boost", + "score": 0.047605425119400024 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04763590916991234 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1380859613418579 + }, + "else": { + "operation": "boost", + "score": -0.0548347532749176 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08783268928527832 + }, + "else": { + "operation": "boost", + "score": 0.10550008714199066 + } + }, + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010259897448122501 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10726697742938995 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1421714425086975 + }, + "else": { + "operation": "boost", + "score": 0.10999464988708496 + } + }, + "else": { + "operation": "boost", + "score": 0.12416967004537582 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05207158997654915 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16141.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.01652495190501213 + }, + "else": { + "operation": "boost", + "score": 0.11638878285884857 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7172.5, + "then": { + "operation": "boost", + "score": 0.04492727294564247 + }, + "else": { + "operation": "boost", + "score": 0.10394910722970963 + } + }, + "else": { + "operation": "boost", + "score": 0.06458446383476257 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0034836840350180864 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.006125191226601601 + }, + "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_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 + } + }, + "else": { + "operation": "boost", + "score": 0.010896706953644753 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 431.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.5, + "then": { + "operation": "boost", + "score": 0.11311660706996918 + }, + "else": { + "operation": "boost", + "score": -0.09496040642261505 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0037430061493068933 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005614448455162346 + } + }, + { + "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, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.040100958198308945 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.012006876058876514 + }, + "else": { + "operation": "boost", + "score": 0.06959036737680435 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 256398.5, + "then": { + "operation": "boost", + "score": -0.10048903524875641 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01733359694480896 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12839622795581818 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.06588118523359299 + }, + "else": { + "operation": "boost", + "score": -0.06877530366182327 + } + }, + "else": { + "operation": "boost", + "score": 0.047166962176561356 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.06196364387869835 + }, + "else": { + "operation": "boost", + "score": -0.16914783418178558 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013362502679228783 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62487.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.06492990255355835 + }, + "else": { + "operation": "boost", + "score": 0.014283677563071251 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12808158993721008 + }, + "else": { + "operation": "boost", + "score": 0.11895735561847687 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95752.0, + "then": { + "operation": "boost", + "score": 0.09781060367822647 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12953075766563416 + }, + "else": { + "operation": "boost", + "score": 0.06000413000583649 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11411992460489273 + } + }, + "else": { + "operation": "boost", + "score": 0.05123294144868851 + } + }, + "else": { + "operation": "boost", + "score": 0.0008926562150008976 + } + }, + "else": { + "operation": "boost", + "score": -0.04553575813770294 + } + } + } + } + } + }, + "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.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, + "then": { + "operation": "boost", + "score": 0.07076084613800049 + }, + "else": { + "operation": "boost", + "score": 0.11724170297384262 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.0009579219040460885 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "boost", + "score": 0.11015951633453369 + }, + "else": { + "operation": "boost", + "score": -0.1060851514339447 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.13936172425746918 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.11870400607585907 + }, + "else": { + "operation": "boost", + "score": 0.06849057972431183 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06652074307203293 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0368228554725647 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.00844509620219469 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "boost", + "score": 0.09091047942638397 + }, + "else": { + "operation": "boost", + "score": 0.13834655284881592 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.07962196320295334 + }, + "else": { + "operation": "boost", + "score": 0.12455105781555176 + } + }, + "else": { + "operation": "boost", + "score": -0.202947735786438 + } + }, + "else": { + "operation": "boost", + "score": -0.17022167146205902 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09972593933343887 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03207222372293472 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.026869997382164 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.5336445569992065 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.13807766139507294 + }, + "else": { + "operation": "boost", + "score": 0.10188853740692139 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123460.5, + "then": { + "operation": "boost", + "score": 0.10992426425218582 + }, + "else": { + "operation": "boost", + "score": 0.11073103547096252 + } + }, + "else": { + "operation": "boost", + "score": 0.22672979533672333 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11174031347036362 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.12642624974250793 + }, + "else": { + "operation": "boost", + "score": -0.003365512238815427 + } + }, + "else": { + "operation": "boost", + "score": 0.03196946159005165 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11344127357006073 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03852882981300354 + }, + "else": { + "operation": "boost", + "score": 0.12491609156131744 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03340257331728935 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0021950651425868273 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.03092978708446026 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.6293824911117554 + }, + "else": { + "operation": "boost", + "score": 0.04435732588171959 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.4858342409133911 + }, + "else": { + "operation": "boost", + "score": 0.07474394887685776 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02179267257452011 + }, + "else": { + "operation": "boost", + "score": 0.08810339123010635 + } + }, + "else": { + "operation": "boost", + "score": -0.023796144872903824 + } + } + } + } + }, + "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.030935604125261307 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08543384820222855 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02489510178565979 + } + }, + "else": { + "operation": "boost", + "score": 0.015170786529779434 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.022682925686240196 + }, + "else": { + "operation": "boost", + "score": -0.011432668194174767 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005376550368964672 + } + } + } + } + }, + { + "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.03078443929553032 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 561.5, + "then": { + "operation": "boost", + "score": 0.13199813663959503 + }, + "else": { + "operation": "boost", + "score": 0.05262605845928192 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3321.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0276938509196043 + }, + "else": { + "operation": "boost", + "score": -0.12135527282953262 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03972666710615158 + }, + "else": { + "operation": "boost", + "score": -0.002727876417338848 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18618.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.09776395559310913 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.07425475865602493 + }, + "else": { + "operation": "boost", + "score": 0.11184044182300568 + } + }, + "else": { + "operation": "boost", + "score": -0.2696673572063446 + } + } + }, + "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, + "then": { + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.2358892560005188 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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 + } + }, + "else": { + "operation": "boost", + "score": 0.04242868348956108 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.2579379081726074 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0745161771774292 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01043644081801176 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04888268932700157 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0016220328398048878 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.12398666888475418 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11240247637033463 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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, + "then": { + "operation": "boost", + "score": -0.1424202173948288 + }, + "else": { + "operation": "boost", + "score": 0.13564683496952057 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "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.07842442393302917 + }, + "else": { + "operation": "boost", + "score": 0.11109708994626999 + } + }, + "else": { + "operation": "boost", + "score": -0.19659285247325897 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5742.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6592.0, + "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 + } + }, + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01640687882900238 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.16547837853431702 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1371043473482132 + }, + "else": { + "operation": "boost", + "score": 0.11649542301893234 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.056950218975543976 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14181.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06142188981175423 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16362.0, + "then": { + "operation": "boost", + "score": -0.05164068192243576 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15956.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08378534018993378 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08520276099443436 + }, + "else": { + "operation": "boost", + "score": 0.10806352645158768 + } + }, + "else": { + "operation": "boost", + "score": -0.15962420403957367 + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08444084227085114 + }, + "else": { + "operation": "boost", + "score": 0.11404415965080261 + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 618.0, + "then": { + "operation": "boost", + "score": 0.1067577376961708 + }, + "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", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 457.5, + "then": { + "operation": "boost", + "score": 0.06167306378483772 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 445.5, + "then": { + "operation": "boost", + "score": 0.09917621314525604 + }, + "else": { + "operation": "boost", + "score": 0.09731578081846237 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09860657900571823 + }, + "else": { + "operation": "boost", + "score": -0.2230958193540573 + } + }, + "else": { + "operation": "boost", + "score": 0.0018076059641316533 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011249666102230549 + } + }, + "else": { + "operation": "boost", + "score": -0.030683886259794235 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.5, + "then": { + "operation": "boost", + "score": 0.1111547201871872 + }, + "else": { + "operation": "boost", + "score": -0.08845341950654984 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14375025033950806 + }, + "else": { + "operation": "boost", + "score": 0.008934332989156246 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.10739168524742126 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018833253532648087 + }, + "else": { + "operation": "boost", + "score": -0.021615054458379745 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03249843418598175 + }, + "else": { + "operation": "boost", + "score": -0.00576271815225482 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.055888582020998 + }, + "else": { + "operation": "boost", + "score": -0.01920946314930916 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.01956973597407341 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.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, + "then": { + "operation": "boost", + "score": -0.09048213809728622 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11107900738716125 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10310258716344833 + }, + "else": { + "operation": "boost", + "score": 0.025605736300349236 + } + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07405422627925873 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": -0.150526762008667 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09166257083415985 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.42444825172424316 + }, + "else": { + "operation": "boost", + "score": 0.09399257600307465 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.030807454138994217 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.09180283546447754 + }, + "else": { + "operation": "boost", + "score": -0.25775936245918274 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12737511098384857 + }, + "else": { + "operation": "boost", + "score": 0.03743172809481621 + } + }, + "else": { + "operation": "boost", + "score": 0.10930496454238892 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07538866251707077 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1060161367058754 + }, + "else": { + "operation": "boost", + "score": 0.11734342575073242 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.2282360941171646 + }, + "else": { + "operation": "boost", + "score": 0.11041964590549469 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0972934439778328 + }, + "else": { + "operation": "boost", + "score": 0.21461442112922668 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12719948589801788 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.10792288929224014 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00788854155689478 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.012067052535712719 + }, + "else": { + "operation": "boost", + "score": 0.018265165388584137 + } + }, + "else": { + "operation": "boost", + "score": 0.008021160960197449 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.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": "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, + "then": { + "operation": "boost", + "score": 0.10959656536579132 + }, + "else": { + "operation": "boost", + "score": -0.03469415009021759 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": -0.11155976355075836 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.10733664035797119 + }, + "else": { + "operation": "boost", + "score": 0.14495062828063965 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03823694586753845 + } + }, + "else": { + "operation": "boost", + "score": 0.030442945659160614 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015754787251353264 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23415.5, + "then": { + "operation": "boost", + "score": -0.16767771542072296 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03084825910627842 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05946381762623787 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.08830956369638443 + }, + "else": { + "operation": "boost", + "score": 0.3587530851364136 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13415396213531494 + }, + "else": { + "operation": "boost", + "score": 0.008486863225698471 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.14337196946144104 + }, + "else": { + "operation": "boost", + "score": 0.19903002679347992 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.07944557815790176 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06715299934148788 + }, + "else": { + "operation": "boost", + "score": 0.11249751597642899 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1312081515789032 + }, + "else": { + "operation": "boost", + "score": 0.10828928649425507 + } + } + }, + "else": { + "operation": "boost", + "score": -0.001950387959368527 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32671.0, + "then": { + "operation": "boost", + "score": 0.053558919578790665 + }, + "else": { + "operation": "boost", + "score": 0.1952783614397049 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08702989667654037 + }, + "else": { + "operation": "boost", + "score": 0.005021220538765192 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Unknown", + "Keyword", + "Macro" + ], + "then": { + "operation": "boost", + "score": -0.0058470857329666615 + }, + "else": { + "operation": "boost", + "score": -0.06388311833143234 + } + } + } + } + }, + { + "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.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", + "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": "boost", + "score": 0.03794994205236435 + }, + "else": { + "operation": "boost", + "score": -0.05191471800208092 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11578574776649475 + }, + "else": { + "operation": "boost", + "score": 0.10804077982902527 + } + }, + "else": { + "operation": "boost", + "score": -0.10419923812150955 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09400024265050888 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17254126071929932 + }, + "else": { + "operation": "boost", + "score": 0.1360652595758438 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.014703805558383465 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1066683679819107 + }, + "else": { + "operation": "boost", + "score": 0.06435423344373703 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.021089181303977966 + } + } + }, + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0163971446454525 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 880.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 912.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1469.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06069446727633476 + }, + "else": { + "operation": "boost", + "score": 0.127473384141922 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1347.0, + "then": { + "operation": "boost", + "score": 0.11345408856868744 + }, + "else": { + "operation": "boost", + "score": 0.018689880147576332 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11360.5, + "then": { + "operation": "boost", + "score": -0.0019462673226371408 + }, + "else": { + "operation": "boost", + "score": 0.11950956284999847 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.02884877845644951 + }, + "else": { + "operation": "boost", + "score": 0.07064501196146011 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 613.0, + "then": { + "operation": "boost", + "score": -0.39733830094337463 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 583.5, + "then": { + "operation": "boost", + "score": 0.09311816096305847 + }, + "else": { + "operation": "boost", + "score": -0.29775968194007874 + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": -0.03054129146039486 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08606807887554169 + }, + "else": { + "operation": "boost", + "score": 0.03043152019381523 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2227228283882141 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09153520315885544 + }, + "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.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28539.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1289035826921463 + }, + "else": { + "operation": "boost", + "score": 0.05338967218995094 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8847.0, + "then": { + "operation": "boost", + "score": -0.08584081381559372 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6577.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6778.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.1173953041434288 + } + }, + "else": { + "operation": "boost", + "score": -0.02695060707628727 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.16375494003295898 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "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.04794200137257576 + }, + "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, + "then": { + "operation": "boost", + "score": 0.014919326640665531 + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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, + "then": { + "operation": "boost", + "score": 0.0862644836306572 + }, + "else": { + "operation": "boost", + "score": 0.10199020057916641 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0620012991130352 + }, + "else": { + "operation": "boost", + "score": 0.25677189230918884 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1140.5, + "then": { + "operation": "boost", + "score": 0.045374829322099686 + }, + "else": { + "operation": "boost", + "score": 0.11288691312074661 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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, + "then": { + "operation": "boost", + "score": -0.10293645411729813 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2191.0, + "then": { + "operation": "boost", + "score": 0.0981074869632721 + }, + "else": { + "operation": "boost", + "score": 0.11326588690280914 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022745298221707344 + } + } + } + } + } + }, + "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_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3321.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.025714032351970673 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06328050792217255 + }, + "else": { + "operation": "boost", + "score": 0.08260276168584824 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11526668071746826 + } + }, + "else": { + "operation": "boost", + "score": 0.009306482039391994 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.003432636149227619 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1494.5, + "then": { + "operation": "boost", + "score": -0.004068458918482065 + }, + "else": { + "operation": "boost", + "score": 0.07907160371541977 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.12379378080368042 + }, + "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.11433415114879608 + }, + "else": { + "operation": "boost", + "score": -0.1016603335738182 + } + }, + "else": { + "operation": "boost", + "score": -0.1287737339735031 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0013973236782476306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.06986018270254135 + }, + "else": { + "operation": "boost", + "score": -0.9504845142364502 + } + }, + "else": { + "operation": "boost", + "score": 0.10403607785701752 + } + }, + "else": { + "operation": "boost", + "score": 0.08532200753688812 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77231.0, + "then": { + "operation": "boost", + "score": -0.20621174573898315 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7126.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9853.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "boost", + "score": 0.011133076623082161 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15033.0, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07482513040304184 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.05831657722592354 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9189.5, + "then": { + "operation": "boost", + "score": 0.12230323255062103 + }, + "else": { + "operation": "boost", + "score": 0.11567528545856476 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3495.0, + "then": { + "operation": "boost", + "score": -0.09170207381248474 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3190.5, + "then": { + "operation": "boost", + "score": 0.0902942344546318 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 459.0, + "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 + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.05652599781751633 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.40436699986457825 + } + } + } + } + } + }, + "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": { + "operation": "boost", + "score": -0.019345086067914963 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08897994458675385 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9171.5, + "then": { + "operation": "boost", + "score": -0.07736341655254364 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7609.0, + "then": { + "operation": "boost", + "score": 0.00014499049575533718 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, + "then": { + "operation": "boost", + "score": 0.10027339309453964 + }, + "else": { + "operation": "boost", + "score": 0.08250957727432251 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02800885960459709 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1400742530822754 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "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.04377713426947594 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06290891021490097 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.10817011445760727 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12479649484157562 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11215284466743469 + }, + "else": { + "operation": "boost", + "score": 0.0626453310251236 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20883333683013916 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.060605309903621674 + }, + "else": { + "operation": "boost", + "score": 0.13212616741657257 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6407.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.1385766565799713 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6962.0, + "then": { + "operation": "boost", + "score": 0.055169858038425446 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.3480762839317322 + }, + "else": { + "operation": "boost", + "score": 0.11723353713750839 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07192127406597137 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "boost", + "score": 0.08729442209005356 + }, + "else": { + "operation": "boost", + "score": 0.14387544989585876 + } + } + }, + "else": { + "operation": "boost", + "score": -0.052129387855529785 + } + }, + "else": { + "operation": "boost", + "score": -0.20729173719882965 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08444802463054657 + }, + "else": { + "operation": "boost", + "score": 0.1011284589767456 + } + }, + "else": { + "operation": "boost", + "score": 0.10509761422872543 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1985740214586258 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0580495148897171 + }, + "else": { + "operation": "boost", + "score": 0.2350190430879593 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10025934875011444 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 3.738961696624756 + }, + "else": { + "operation": "boost", + "score": 0.011033271439373493 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 505.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 625.0, + "then": { + "operation": "boost", + "score": 0.0009454791434109211 + }, + "else": { + "operation": "boost", + "score": -0.2614132761955261 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.11026404798030853 + }, + "else": { + "operation": "boost", + "score": -0.11091498285531998 + } + }, + "else": { + "operation": "boost", + "score": 0.011806025169789791 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09702359884977341 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0021500661969184875 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00025939042097888887 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005187165224924684 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 562.0, + "then": { + "operation": "boost", + "score": 0.11899617314338684 + }, + "else": { + "operation": "boost", + "score": -0.324104368686676 + } + }, + "else": { + "operation": "boost", + "score": 0.02644982561469078 + } + }, + "else": { + "operation": "boost", + "score": 0.02891862392425537 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68.5, + "then": { + "operation": "boost", + "score": 0.06592218577861786 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.009823665022850037 + }, + "else": { + "operation": "boost", + "score": 0.11901134252548218 + } + } + }, + "else": { + "operation": "boost", + "score": 0.056224972009658813 + } + } + }, + "else": { + "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.09338217973709106 + }, + "else": { + "operation": "boost", + "score": 0.11046934872865677 + } + }, + "else": { + "operation": "boost", + "score": 0.09495437890291214 + } + }, + "else": { + "operation": "boost", + "score": 0.03334911912679672 + } + } + }, + "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.04087075591087341 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.0, + "then": { + "operation": "boost", + "score": 0.1035405769944191 + }, + "else": { + "operation": "boost", + "score": -0.26647821068763733 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.0, + "then": { + "operation": "boost", + "score": -0.16100579500198364 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.0, + "then": { + "operation": "boost", + "score": 0.133414626121521 + }, + "else": { + "operation": "boost", + "score": -0.17153631150722504 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05256906524300575 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21689.0, + "then": { + "operation": "boost", + "score": 0.015918659046292305 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3109.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 + } + } + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.11689243465662003 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.03864170238375664 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006303641013801098 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.07862556725740433 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10798797011375427 + }, + "else": { + "operation": "boost", + "score": 0.06080840155482292 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09436676651239395 + }, + "else": { + "operation": "boost", + "score": 0.12043332308530807 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1726.0, + "then": { + "operation": "boost", + "score": -0.8279288411140442 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.005785372573882341 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07831895351409912 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04925321042537689 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10759834945201874 + }, + "else": { + "operation": "boost", + "score": -0.16199910640716553 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004086083732545376 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2270338237285614 + }, + "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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11767246574163437 + }, + "else": { + "operation": "boost", + "score": 0.24494066834449768 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06398995220661163 + }, + "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, + "then": { + "operation": "boost", + "score": 0.054142653942108154 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "boost", + "score": 0.1253822147846222 + }, + "else": { + "operation": "boost", + "score": 0.06392253935337067 + } + }, + "else": { + "operation": "boost", + "score": 0.017653314396739006 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10004140436649323 + } + } + }, + "else": { + "operation": "boost", + "score": 0.082131028175354 + } + } + } + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "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": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.007613964378833771 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200.5, + "then": { + "operation": "boost", + "score": 0.06663548201322556 + }, + "else": { + "operation": "boost", + "score": 0.10249348729848862 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09849991649389267 + } + }, + "else": { + "operation": "boost", + "score": -0.021347779780626297 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.4799676537513733 + }, + "else": { + "operation": "boost", + "score": 0.1171640008687973 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03842870146036148 + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 515.0, + "then": { + "operation": "boost", + "score": -0.6719618439674377 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136.0, + "then": { + "operation": "boost", + "score": 0.101694256067276 + }, + "else": { + "operation": "boost", + "score": -0.0005371720180846751 + } + }, + "else": { + "operation": "boost", + "score": -0.04885375127196312 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2220541387796402 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.5, + "then": { + "operation": "boost", + "score": 0.055100515484809875 + }, + "else": { + "operation": "boost", + "score": 0.11475139856338501 + } + }, + "else": { + "operation": "boost", + "score": 0.0426882803440094 + } + }, + "else": { + "operation": "boost", + "score": -0.03539931774139404 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 794.0, + "then": { + "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_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03387465700507164 + }, + "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, + "then": { + "operation": "boost", + "score": -0.0634496882557869 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.0, + "then": { + "operation": "boost", + "score": 0.10688423365354538 + }, + "else": { + "operation": "boost", + "score": 0.024149969220161438 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14533081650733948 + } + }, + "else": { + "operation": "boost", + "score": 0.04960355907678604 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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 + } + } + }, + "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": 67.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.10397769510746002 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "boost", + "score": 2.2256617546081543 + }, + "else": { + "operation": "boost", + "score": 0.12830495834350586 + } + } + }, + "else": { + "operation": "boost", + "score": -0.025683147832751274 + } + }, + "else": { + "operation": "boost", + "score": -0.048048872500658035 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.029680605977773666 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00562318554148078 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006542285555042326 + } + }, + { + "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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 371.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.21631696820259094 + }, + "else": { + "operation": "boost", + "score": -0.15142489969730377 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 169.0, + "then": { + "operation": "boost", + "score": 0.3580908179283142 + }, + "else": { + "operation": "boost", + "score": -0.10101263225078583 + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05148335546255112 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.03504197672009468 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.11442870646715164 + }, + "else": { + "operation": "boost", + "score": 0.019935667514801025 + } + } + }, + "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, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.0, + "then": { + "operation": "boost", + "score": -0.11608055233955383 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.1355617493391037 + }, + "else": { + "operation": "boost", + "score": -0.13111406564712524 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": -0.11871284246444702 + }, + "else": { + "operation": "boost", + "score": 0.12314452230930328 + } + }, + "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": 3.5, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.11656906455755234 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.15861476957798004 + }, + "else": { + "operation": "boost", + "score": 0.1362101435661316 + } + } + }, + "else": { + "operation": "boost", + "score": 0.18152834475040436 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.2218596339225769 + }, + "else": { + "operation": "boost", + "score": -0.10843496769666672 + } + }, + "else": { + "operation": "boost", + "score": 0.0664721354842186 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07059307396411896 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.0768849179148674 + }, + "else": { + "operation": "boost", + "score": 0.01142896804958582 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.03430202603340149 + }, + "else": { + "operation": "boost", + "score": 0.11609815806150436 + } + }, + "else": { + "operation": "boost", + "score": -0.10834752023220062 + } + }, + "else": { + "operation": "boost", + "score": -0.1337442398071289 + } + }, + "else": { + "operation": "boost", + "score": -0.10947832465171814 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01594519056379795 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.008759177289903164 + }, + "else": { + "operation": "boost", + "score": -0.08807259798049927 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0 + }, + "else": { + "operation": "boost", + "score": 0.11473461240530014 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 730.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0042418926022946835 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.0, + "then": { + "operation": "boost", + "score": 0.026054110378026962 + }, + "else": { + "operation": "boost", + "score": 0.16638942062854767 + } + }, + "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", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0968320444226265 + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07722849398851395 + }, + "else": { + "operation": "boost", + "score": 0.11032357066869736 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01774510368704796 + } + } + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.018981454893946648 + }, + "else": { + "operation": "boost", + "score": -0.012317758053541183 + } + }, + "else": { + "operation": "boost", + "score": -0.18430712819099426 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0023595797829329967 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04874896630644798 + }, + "else": { + "operation": "boost", + "score": -0.013755915686488152 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.012253057211637497 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "boost", + "score": 0.05803685262799263 + }, + "else": { + "operation": "boost", + "score": 0.11515966802835464 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0022636938374489546 + }, + "else": { + "operation": "boost", + "score": 0.07705476135015488 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 158.5, + "then": { + "operation": "boost", + "score": 0.07168416678905487 + }, + "else": { + "operation": "boost", + "score": -0.20306774973869324 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12276067584753036 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.14968883991241455 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.029868334531784058 + }, + "else": { + "operation": "boost", + "score": -1.492549180984497 + } + }, + "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 + } + } + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1267005205154419 + }, + "else": { + "operation": "boost", + "score": 0.11389584839344025 + } + }, + "else": { + "operation": "boost", + "score": -0.027297668159008026 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "boost", + "score": -0.021460095420479774 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "boost", + "score": 0.10692566633224487 + }, + "else": { + "operation": "boost", + "score": -0.10527566075325012 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10713246464729309 + }, + "else": { + "operation": "boost", + "score": -0.25685736536979675 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14998948574066162 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53478.0, + "then": { + "operation": "boost", + "score": 0.1736874282360077 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09049973636865616 + }, + "else": { + "operation": "boost", + "score": 0.11602161824703217 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08153365552425385 + }, + "else": { + "operation": "boost", + "score": 0.09966466575860977 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04810597375035286 + }, + "else": { + "operation": "boost", + "score": 0.13880117237567902 + } + }, + "else": { + "operation": "boost", + "score": -0.28885507583618164 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12719760835170746 + }, + "else": { + "operation": "boost", + "score": 0.10516535490751266 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0029166401363909245 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15601709485054016 + }, + "else": { + "operation": "boost", + "score": 0.12952041625976562 + } + }, + "else": { + "operation": "boost", + "score": 0.17663885653018951 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "boost", + "score": -0.00275834696367383 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06339655816555023 + }, + "else": { + "operation": "boost", + "score": 0.14649012684822083 + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": -0.006162160541862249 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029070768505334854 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09813422709703445 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.04523766413331032 + }, + "else": { + "operation": "boost", + "score": -0.12782889604568481 + } + }, + "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": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.007469294127076864 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09232289344072342 + }, + "else": { + "operation": "boost", + "score": -0.004030757583677769 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10556799173355103 + }, + "else": { + "operation": "boost", + "score": -0.22056785225868225 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20645229518413544 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.057172100991010666 + }, + "else": { + "operation": "boost", + "score": 0.11236691474914551 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06844453513622284 + }, + "else": { + "operation": "boost", + "score": 0.09756103903055191 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.030029427260160446 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.022472510114312172 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11193743348121643 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.016430234536528587 + }, + "else": { + "operation": "boost", + "score": 0.11750687658786774 + } + }, + "else": { + "operation": "boost", + "score": -0.12845221161842346 + } + }, + "else": { + "operation": "boost", + "score": 0.043350446969270706 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03883954510092735 + }, + "else": { + "operation": "boost", + "score": 0.119122214615345 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263945.0, + "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": 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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.10116253793239594 + }, + "else": { + "operation": "boost", + "score": 0.04140082374215126 + } + }, + "else": { + "operation": "boost", + "score": 0.09373671561479568 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0008227055659517646 + } + }, + "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" + ], + "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": "boost", + "score": 0.032381411641836166 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10718543082475662 + }, + "else": { + "operation": "boost", + "score": 0.07203181833028793 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.5772590637207031 + }, + "else": { + "operation": "boost", + "score": 0.05639614909887314 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10314735770225525 + } + }, + "else": { + "operation": "boost", + "score": 0.005569632165133953 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1061154380440712 + }, + "else": { + "operation": "boost", + "score": 0.000960495846811682 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.021854469552636147 + }, + "else": { + "operation": "boost", + "score": 0.10647568106651306 + } + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.16269966959953308 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.033359456807374954 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.10313309729099274 + }, + "else": { + "operation": "boost", + "score": 0.11754456907510757 + } + }, + "else": { + "operation": "boost", + "score": 0.7987828254699707 + } + }, + "else": { + "operation": "boost", + "score": -0.2509683668613434 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00604875897988677 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0266711562871933 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006544930511154234 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09462834149599075 + }, + "else": { + "operation": "boost", + "score": -0.486799955368042 + } + }, + "else": { + "operation": "boost", + "score": -0.5217058658599854 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.009072314947843552 + }, + "else": { + "operation": "boost", + "score": -0.008135017938911915 + } + } + } + } + }, + "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": { + "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": "boost", + "score": -0.00909417774528265 + }, + "else": { + "operation": "boost", + "score": 0.007823324762284756 + } + }, + "else": { + "operation": "boost", + "score": -0.00821883324533701 + } + }, + "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 + } + } + } + } + } + } + }, + { + "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, + "then": { + "operation": "boost", + "score": 0.11713454872369766 + }, + "else": { + "operation": "boost", + "score": 0.04141898825764656 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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": 5280.5, + "then": { + "operation": "boost", + "score": 0.024952875450253487 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.09526242315769196 + }, + "else": { + "operation": "boost", + "score": 0.3214830756187439 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1218341514468193 + }, + "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.11174551397562027 + }, + "else": { + "operation": "boost", + "score": -0.10152097046375275 + } + }, + "else": { + "operation": "boost", + "score": -0.13012027740478516 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.000657081080134958 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17508795857429504 + }, + "else": { + "operation": "boost", + "score": 0.10370857268571854 + } + }, + "else": { + "operation": "boost", + "score": 0.07093200832605362 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.12845061719417572 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47953.0, + "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, + "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": 15665.5, + "then": { + "operation": "boost", + "score": 0.130320206284523 + }, + "else": { + "operation": "boost", + "score": -0.22506660223007202 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28364.0, + "then": { + "operation": "boost", + "score": 0.01856633462011814 + }, + "else": { + "operation": "boost", + "score": 0.14043231308460236 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02045106515288353 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3495.0, + "then": { + "operation": "boost", + "score": -0.09508060663938522 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3190.5, + "then": { + "operation": "boost", + "score": 0.08764221519231796 + }, + "else": { + "operation": "boost", + "score": 0.03641997277736664 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.014123096130788326 + }, + "else": { + "operation": "boost", + "score": -0.3128446340560913 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.008715204894542694 + }, + "else": { + "operation": "boost", + "score": 0.10413991659879684 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.04764759913086891 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0910937562584877 + }, + "else": { + "operation": "boost", + "score": -0.05124944448471069 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04937628284096718 + } + } + }, + "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": 903.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.268483430147171 + }, + "else": { + "operation": "boost", + "score": 0.11064209043979645 + } + }, + "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": { + "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.03932235389947891 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.034991223365068436 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.10394658148288727 + }, + "else": { + "operation": "boost", + "score": 0.11115765571594238 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33671.5, + "then": { + "operation": "boost", + "score": -0.14093105494976044 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6261.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15231.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.07226100564002991 + }, + "else": { + "operation": "boost", + "score": -0.23476508259773254 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12507353723049164 + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08236420154571533 + }, + "else": { + "operation": "boost", + "score": 0.10019400715827942 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03547544777393341 + }, + "else": { + "operation": "boost", + "score": 0.2194383591413498 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09778669476509094 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 500.0, + "then": { + "operation": "boost", + "score": 0.008261711336672306 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "boost", + "score": 0.10626543313264847 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.2852274775505066 + }, + "else": { + "operation": "boost", + "score": 0.1215704157948494 + } + }, + "else": { + "operation": "boost", + "score": -0.09088493138551712 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1276.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8245.5, + "then": { + "operation": "boost", + "score": 0.005418730899691582 + }, + "else": { + "operation": "boost", + "score": -0.03732449188828468 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1072.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074.5, + "then": { + "operation": "boost", + "score": 0.030282966792583466 + }, + "else": { + "operation": "boost", + "score": 0.10940805822610855 + } + }, + "else": { + "operation": "boost", + "score": 0.015460498631000519 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7841.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.06314785033464432 + }, + "else": { + "operation": "boost", + "score": -0.8103172779083252 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6593.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10498244315385818 + }, + "else": { + "operation": "boost", + "score": 0.09039166569709778 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 943.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07711620628833771 + }, + "else": { + "operation": "boost", + "score": 0.11379209905862808 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3914.0, + "then": { + "operation": "boost", + "score": -0.18265856802463531 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2140.0, + "then": { + "operation": "boost", + "score": 0.10946409404277802 + }, + "else": { + "operation": "boost", + "score": 0.05651101469993591 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3248594403266907 + } + }, + "else": { + "operation": "boost", + "score": -0.6650160551071167 + } + } + }, + "else": { + "operation": "boost", + "score": -0.5197946429252625 + } + } + }, + "else": { + "operation": "boost", + "score": -0.21367259323596954 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.10385184735059738 + }, + "else": { + "operation": "boost", + "score": 0.008956298232078552 + } + }, + "else": { + "operation": "boost", + "score": -0.010776858776807785 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": 0.08814437687397003 + }, + "else": { + "operation": "boost", + "score": -0.02888728305697441 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.08538839221000671 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2191.0, + "then": { + "operation": "boost", + "score": 0.09644651412963867 + }, + "else": { + "operation": "boost", + "score": 0.11207032948732376 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.020397944375872612 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005470045725814998 + } + }, + { + "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": "boost", + "score": 0.033900294452905655 + }, + "else": { + "operation": "boost", + "score": -0.05558091774582863 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 458.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10276567190885544 + }, + "else": { + "operation": "boost", + "score": 0.12314467877149582 + } + }, + "else": { + "operation": "boost", + "score": 0.017634209245443344 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11142192780971527 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3322.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.026867594569921494 + }, + "else": { + "operation": "boost", + "score": -0.1110895574092865 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129672.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0341545008122921 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3460908830165863 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.0027129400987178087 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 858647.0, + "then": { + "operation": "boost", + "score": -0.6630296111106873 + }, + "else": { + "operation": "boost", + "score": -0.06938132643699646 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.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, + "then": { + "operation": "boost", + "score": -0.09878063201904297 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11503341048955917 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.011596709489822388 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.05707802623510361 + }, + "else": { + "operation": "boost", + "score": -0.16949982941150665 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12048345804214478 + }, + "else": { + "operation": "boost", + "score": 0.030315162613987923 + } + }, + "else": { + "operation": "boost", + "score": 0.055770087987184525 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.127384752035141 + } + } + } + }, + "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, + "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": "SymbolScopeDistance", + "threshold": 3.0, + "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": "boost", + "score": 0.04206115007400513 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.041261933743953705 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12050037086009979 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14423.5, + "then": { + "operation": "boost", + "score": 0.1001967191696167 + }, + "else": { + "operation": "boost", + "score": -0.15783563256263733 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 342801.0, + "then": { + "operation": "boost", + "score": -0.22763173282146454 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65729.5, + "then": { + "operation": "boost", + "score": 0.10027915984392166 + }, + "else": { + "operation": "boost", + "score": 0.06436504423618317 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1055.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1995.5, + "then": { + "operation": "boost", + "score": 0.06288731843233109 + }, + "else": { + "operation": "boost", + "score": 0.13091877102851868 + } + }, + "else": { + "operation": "boost", + "score": -0.09374016523361206 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 872.5, + "then": { + "operation": "boost", + "score": 0.1175730973482132 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12287689000368118 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05235361307859421 + }, + "else": { + "operation": "boost", + "score": 0.1441371589899063 + } + }, + "else": { + "operation": "boost", + "score": -0.07350882887840271 + } + }, + "else": { + "operation": "boost", + "score": -0.43051740527153015 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.6076212525367737 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004414143972098827 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05612295866012573 + }, + "else": { + "operation": "boost", + "score": -0.03964778780937195 + } + }, + "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": 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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10979705303907394 + } + } + } + }, + "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": 66036.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.1120624989271164 + }, + "else": { + "operation": "boost", + "score": -0.015806768089532852 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57673.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1158161461353302 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.01803332380950451 + }, + "else": { + "operation": "boost", + "score": 0.10335630923509598 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0355299711227417 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9171.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11381.0, + "then": { + "operation": "boost", + "score": -0.043487146496772766 + }, + "else": { + "operation": "boost", + "score": -0.26529446244239807 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6404.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7609.0, + "then": { + "operation": "boost", + "score": 0.00030770193552598357 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, + "then": { + "operation": "boost", + "score": 0.09871294349431992 + }, + "else": { + "operation": "boost", + "score": 0.083647221326828 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10196801275014877 + }, + "else": { + "operation": "boost", + "score": 0.10954926162958145 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.043703947216272354 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33671.5, + "then": { + "operation": "boost", + "score": -0.11212360858917236 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6261.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15231.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.16586780548095703 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10082335770130157 + }, + "else": { + "operation": "boost", + "score": 0.03432083502411842 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012336768209934235 + } + }, + "else": { + "operation": "boost", + "score": 0.12416083365678787 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "boost", + "score": -0.12057987600564957 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13599.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.030327659100294113 + }, + "else": { + "operation": "boost", + "score": 0.105134017765522 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9486.5, + "then": { + "operation": "boost", + "score": -0.25770291686058044 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6609.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6962.0, + "then": { + "operation": "boost", + "score": 0.07313531637191772 + }, + "else": { + "operation": "boost", + "score": 0.14469969272613525 + } + }, + "else": { + "operation": "boost", + "score": 0.021449217572808266 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08040459454059601 + }, + "else": { + "operation": "boost", + "score": 0.0992722362279892 + } + }, + "else": { + "operation": "boost", + "score": 0.10137343406677246 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09565209597349167 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 500.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0026342098135501146 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 660.0, + "then": { + "operation": "boost", + "score": 0.06339733302593231 + }, + "else": { + "operation": "boost", + "score": 0.11692670732736588 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "boost", + "score": 0.1031857281923294 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3739681839942932 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1770089715719223 + }, + "else": { + "operation": "boost", + "score": 0.12212155759334564 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04467996209859848 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01795591413974762 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010759761789813638 + } + } + }, + "else": { + "operation": "boost", + "score": -6.457442214014009e-05 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005102517898194492 + } + }, + { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04727284610271454 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.037102971225976944 + }, + "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": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.024051809683442116 + }, + "else": { + "operation": "boost", + "score": 0.0018641984788700938 + } + }, + "else": { + "operation": "boost", + "score": 0.02314966358244419 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.020494865253567696 + }, + "else": { + "operation": "boost", + "score": 0.004125030245631933 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "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_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.05605442449450493 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.13233734667301178 + }, + "else": { + "operation": "boost", + "score": 0.1433410346508026 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09777408093214035 + }, + "else": { + "operation": "boost", + "score": 0.12240634858608246 + } + }, + "else": { + "operation": "boost", + "score": 0.026922164484858513 + } + } + }, + "else": { + "operation": "boost", + "score": -0.034218352288007736 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.11012289673089981 + }, + "else": { + "operation": "boost", + "score": 0.10681059956550598 + } + }, + "else": { + "operation": "boost", + "score": 0.05848999321460724 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013670542277395725 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09082543849945068 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.08044733107089996 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.016323208808898926 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004048497881740332 + } + }, + "else": { + "operation": "boost", + "score": 0.00017649575602263212 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0025796941481530666 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10362052172422409 + }, + "else": { + "operation": "boost", + "score": 0.0846615582704544 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021434340626001358 + } + }, + "else": { + "operation": "boost", + "score": 0.01485668495297432 + } + }, + "else": { + "operation": "boost", + "score": -0.0348656103014946 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "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.1200067549943924 + }, + "else": { + "operation": "boost", + "score": -0.23547188937664032 + } + }, + "else": { + "operation": "boost", + "score": 0.017810270190238953 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09898725897073746 + }, + "else": { + "operation": "boost", + "score": 0.049012113362550735 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.07367187738418579 + }, + "else": { + "operation": "boost", + "score": 0.12388534843921661 + } + } + } + }, + "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.02143121510744095 + }, + "else": { + "operation": "boost", + "score": -0.9207897782325745 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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_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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.04327866807579994 + }, + "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, + "then": { + "operation": "boost", + "score": -0.05733273923397064 + }, + "else": { + "operation": "boost", + "score": 0.024266989901661873 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.027431370690464973 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08162675052881241 + }, + "else": { + "operation": "boost", + "score": 0.10525710880756378 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.08644815534353256 + }, + "else": { + "operation": "boost", + "score": 0.1051153764128685 + } + } + } + }, + "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 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03392188996076584 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11757248640060425 + }, + "else": { + "operation": "boost", + "score": 0.09226871281862259 + } + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1121840626001358 + }, + "else": { + "operation": "boost", + "score": -0.12609043717384338 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015188824385404587 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.003828147193416953 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.10361761599779129 + }, + "else": { + "operation": "boost", + "score": 0.0664825439453125 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07531945407390594 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03465580567717552 + }, + "else": { + "operation": "boost", + "score": 0.1270228624343872 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.2258743792772293 + }, + "else": { + "operation": "boost", + "score": 0.05578833445906639 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01316135935485363 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41256.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08818695694208145 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.1207953467965126 + }, + "else": { + "operation": "boost", + "score": 0.11402291059494019 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14918479323387146 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03333078697323799 + }, + "else": { + "operation": "boost", + "score": 0.10192959010601044 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.06188500300049782 + }, + "else": { + "operation": "boost", + "score": 0.10857874900102615 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.037440355867147446 + }, + "else": { + "operation": "boost", + "score": 0.08252111822366714 + } + } + }, + "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 + } + } + } + }, + "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": 10.5, + "then": { + "operation": "boost", + "score": -0.05982821062207222 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.011576606892049313 + }, + "else": { + "operation": "boost", + "score": 0.24116607010364532 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1766093373298645 + }, + "else": { + "operation": "boost", + "score": -0.07931427657604218 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02894756570458412 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06545987725257874 + } + } + }, + "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 + } + } + } + } + } + } + } + }, + { + "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": "boost", + "score": -0.034528136253356934 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3322.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.025578880682587624 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10792864859104156 + } + }, + "else": { + "operation": "boost", + "score": 0.012422701343894005 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06197446212172508 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 475.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127271.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.017160672694444656 + }, + "else": { + "operation": "boost", + "score": -0.1921096295118332 + } + }, + "else": { + "operation": "boost", + "score": 0.004913381766527891 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 492.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "boost", + "score": -0.07380854338407516 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10865.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11886.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25936.0, + "then": { + "operation": "boost", + "score": 0.06087896227836609 + }, + "else": { + "operation": "boost", + "score": -0.07291937619447708 + } + }, + "else": { + "operation": "boost", + "score": 0.12088841199874878 + } + }, + "else": { + "operation": "boost", + "score": -0.028192095458507538 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2801.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.28071844577789307 + }, + "else": { + "operation": "boost", + "score": -0.09772518277168274 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0996827781200409 + }, + "else": { + "operation": "boost", + "score": -0.11343476176261902 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6150.0, + "then": { + "operation": "boost", + "score": 0.11323244869709015 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5623632669448853 + }, + "else": { + "operation": "boost", + "score": 0.05045098066329956 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13394787907600403 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 472.5, + "then": { + "operation": "boost", + "score": 0.10463061183691025 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13123588263988495 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10947783291339874 + }, + "else": { + "operation": "boost", + "score": -0.09097646921873093 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 448.5, + "then": { + "operation": "boost", + "score": 0.03263690695166588 + }, + "else": { + "operation": "boost", + "score": 0.1071222573518753 + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 441.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.005260569509118795 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.2254648655653 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10726.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15548.5, + "then": { + "operation": "boost", + "score": 0.03863807022571564 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.16030427813529968 + }, + "else": { + "operation": "boost", + "score": 0.1224999949336052 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3495.0, + "then": { + "operation": "boost", + "score": 0.010657276026904583 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2362.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0390041321516037 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 648.0, + "then": { + "operation": "boost", + "score": 0.1396830976009369 + }, + "else": { + "operation": "boost", + "score": 0.06770262122154236 + } + }, + "else": { + "operation": "boost", + "score": 0.08794482052326202 + } + }, + "else": { + "operation": "boost", + "score": 0.03428000956773758 + } + } + }, + "else": { + "operation": "boost", + "score": -0.025749072432518005 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74277.5, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 907.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 943.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1480.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1361.5, + "then": { + "operation": "boost", + "score": 0.11106960475444794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1207.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1269.5, + "then": { + "operation": "boost", + "score": -0.10884954780340195 + }, + "else": { + "operation": "boost", + "score": 0.12398452311754227 + } + }, + "else": { + "operation": "boost", + "score": -0.17653894424438477 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11340688914060593 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 782.0, + "then": { + "operation": "boost", + "score": -0.2913869619369507 + }, + "else": { + "operation": "boost", + "score": 0.039283301681280136 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06412559002637863 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 8.15910316305235e-05 + }, + "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.03384653478860855 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05705752968788147 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.10070595145225525 + }, + "else": { + "operation": "boost", + "score": 0.10810689628124237 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03464312478899956 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33671.5, + "then": { + "operation": "boost", + "score": -0.09782248735427856 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6261.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15231.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.1667051911354065 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09365841001272202 + }, + "else": { + "operation": "boost", + "score": 0.01683940179646015 + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 20297.5, + "then": { + "operation": "boost", + "score": -0.11745304614305496 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.747236967086792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13941.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.42672690749168396 + }, + "else": { + "operation": "boost", + "score": 0.09982128441333771 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.030525466427206993 + }, + "else": { + "operation": "boost", + "score": 0.09618759155273438 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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, + "then": { + "operation": "boost", + "score": -0.13847818970680237 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04735594242811203 + }, + "else": { + "operation": "boost", + "score": 0.18271975219249725 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1907040774822235 + } + }, + "else": { + "operation": "boost", + "score": 0.09351610392332077 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 500.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.26015782356262207 + }, + "else": { + "operation": "boost", + "score": 0.11037977039813995 + } + }, + "else": { + "operation": "boost", + "score": -0.032317228615283966 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0027663258370012045 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0011997063411399722 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.10303884744644165 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.007978330366313457 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.01450426410883665 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 475.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 664.0, + "then": { + "operation": "boost", + "score": 0.028998736292123795 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09271150827407837 + }, + "else": { + "operation": "boost", + "score": 0.10724543035030365 + } + } + }, + "else": { + "operation": "boost", + "score": -1.2189106941223145 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011567664332687855 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004980596131645143 + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07660636305809021 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.00285902782343328 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114453.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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, + "then": { + "operation": "boost", + "score": -0.06746136397123337 + }, + "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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.028454290702939034 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.028748156502842903 + } + }, + "else": { + "operation": "boost", + "score": 0.01752488687634468 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "boost", + "score": 0.029971983283758163 + }, + "else": { + "operation": "boost", + "score": 0.013170192949473858 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.009563314728438854 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.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 + } + }, + "else": { + "operation": "boost", + "score": 0.013674711808562279 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12104402482509613 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.03821174055337906 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.08161211758852005 + }, + "else": { + "operation": "boost", + "score": 0.051906127482652664 + } + } + }, + "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 + } + } + } + } + } + }, + "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": "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.04556151479482651 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.1094641461968422 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11478802561759949 + }, + "else": { + "operation": "boost", + "score": 0.113151416182518 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10129649192094803 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0029699192382395267 + } + }, + "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_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0003795491356868297 + }, + "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": "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05995122715830803 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03070439212024212 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.04141783341765404 + }, + "else": { + "operation": "boost", + "score": 0.04030102863907814 + } + }, + "else": { + "operation": "boost", + "score": 0.012490789406001568 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004739418625831604 + } + }, + "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" + ], + "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": "boost", + "score": 0.038619451224803925 + }, + "else": { + "operation": "boost", + "score": 0.08992693573236465 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 342801.0, + "then": { + "operation": "boost", + "score": -0.2230031043291092 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1063881441950798 + }, + "else": { + "operation": "boost", + "score": 0.0795915499329567 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2616015672683716 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2030.5, + "then": { + "operation": "boost", + "score": -0.020554695278406143 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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": 872.5, + "then": { + "operation": "boost", + "score": 0.12149997055530548 + }, + "else": { + "operation": "boost", + "score": 0.08344230055809021 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1187.0, + "then": { + "operation": "boost", + "score": 0.09038042277097702 + }, + "else": { + "operation": "boost", + "score": -0.12375562638044357 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1312848925590515 + } + }, + "else": { + "operation": "boost", + "score": -0.04520322382450104 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.051271989941596985 + }, + "else": { + "operation": "boost", + "score": -0.03382781147956848 + } + }, + "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": 11.0, + "then": { + "operation": "boost", + "score": -0.027420490980148315 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 903.5, + "then": { + "operation": "boost", + "score": 0.1112356036901474 + }, + "else": { + "operation": "boost", + "score": -0.19786275923252106 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10646551102399826 + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.04352332651615143 + }, + "else": { + "operation": "boost", + "score": 0.11042492091655731 + } + }, + "else": { + "operation": "boost", + "score": -0.4341679513454437 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1187128946185112 + }, + "else": { + "operation": "boost", + "score": 0.1180684044957161 + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07249540090560913 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.06993075460195541 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.14562734961509705 + }, + "else": { + "operation": "boost", + "score": 0.10023412853479385 + } + }, + "else": { + "operation": "boost", + "score": 0.0866689383983612 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.10116678476333618 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09854869544506073 + } + }, + "else": { + "operation": "boost", + "score": 0.08947034180164337 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03451978787779808 + } + } + }, + "else": { + "operation": "boost", + "score": 0.051782239228487015 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.06403687596321106 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.11094949394464493 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10738866776227951 + }, + "else": { + "operation": "boost", + "score": -0.10916503518819809 + } + }, + "else": { + "operation": "boost", + "score": 0.15696920454502106 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.024874215945601463 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.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 + } + }, + "else": { + "operation": "boost", + "score": 0.10154163092374802 + } + }, + "else": { + "operation": "boost", + "score": 0.006857339758425951 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 380.0, + "then": { + "operation": "boost", + "score": -1.2051832675933838 + }, + "else": { + "operation": "boost", + "score": -0.0210634246468544 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0436941497027874 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.00412342743948102 + }, + "else": { + "operation": "boost", + "score": 0.026224980130791664 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.034541234374046326 + }, + "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", + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.021966952830553055 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.05874602496623993 + } + }, + "else": { + "operation": "boost", + "score": 0.05028581619262695 + } + }, + "else": { + "operation": "boost", + "score": 0.0533275380730629 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021576106548309326 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.5921880602836609 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.01337223220616579 + }, + "else": { + "operation": "boost", + "score": 0.10169021785259247 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0022270262707024813 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.35791778564453125 + }, + "else": { + "operation": "boost", + "score": 0.11257622390985489 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10724905878305435 + }, + "else": { + "operation": "boost", + "score": -0.1896761655807495 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218.5, + "then": { + "operation": "boost", + "score": -0.2784014642238617 + }, + "else": { + "operation": "boost", + "score": 0.10063156485557556 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0882934182882309 + }, + "else": { + "operation": "boost", + "score": -0.0687989667057991 + } + }, + "else": { + "operation": "boost", + "score": 0.10083717107772827 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 374.0, + "then": { + "operation": "boost", + "score": -0.18546253442764282 + }, + "else": { + "operation": "boost", + "score": 0.12668249011039734 + } + }, + "else": { + "operation": "boost", + "score": -0.024349825456738472 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "boost", + "score": 0.13732808828353882 + }, + "else": { + "operation": "boost", + "score": 0.08077479153871536 + } + }, + "else": { + "operation": "boost", + "score": -0.1996479630470276 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03441418707370758 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015834232792258263 + } + }, + "else": { + "operation": "boost", + "score": 0.0025393490213900805 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.22588615119457245 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": 0.18023176491260529 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.16495026648044586 + }, + "else": { + "operation": "boost", + "score": 0.6780824661254883 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.17970292270183563 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.5453386902809143 + }, + "else": { + "operation": "boost", + "score": 0.16575491428375244 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.0655473843216896 + }, + "else": { + "operation": "boost", + "score": -0.2689870297908783 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.13643163442611694 + }, + "else": { + "operation": "boost", + "score": 0.09239521622657776 + } + }, + "else": { + "operation": "boost", + "score": 0.06613302230834961 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10182743519544601 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13079598546028137 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.051926691085100174 + }, + "else": { + "operation": "boost", + "score": 0.10190118849277496 + } + } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.04327941685914993 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.09439123421907425 + }, + "else": { + "operation": "boost", + "score": 0.03864059969782829 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10403358191251755 + }, + "else": { + "operation": "boost", + "score": 0.0838475450873375 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.10013427585363388 + }, + "else": { + "operation": "boost", + "score": 0.03693937137722969 + } + }, + "else": { + "operation": "boost", + "score": 0.0842837318778038 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12476997077465057 + }, + "else": { + "operation": "boost", + "score": 0.035448577255010605 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_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": "NumReferences", + "threshold": 97848.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136489.0, + "then": { + "operation": "boost", + "score": -0.0071733021177351475 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12274143844842911 + }, + "else": { + "operation": "boost", + "score": 0.1304953247308731 + } + } + }, + "else": { + "operation": "boost", + "score": -0.19341574609279633 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, + "then": { + "operation": "boost", + "score": 0.05548172444105148 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.089727982878685 + }, + "else": { + "operation": "boost", + "score": 0.12010395526885986 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1649135947227478 + } + }, + "else": { + "operation": "boost", + "score": 0.002291984623298049 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": -0.29593563079833984 + }, + "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.018001332879066467 + }, + "else": { + "operation": "boost", + "score": 0.1380760371685028 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06095333397388458 + }, + "else": { + "operation": "boost", + "score": 0.0898556038737297 + } + }, + "else": { + "operation": "boost", + "score": 0.09392659366130829 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03909236565232277 + } + } + } + }, + "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": 820317.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.18710197508335114 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 432212.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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 + } + }, + "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 + } + } + } + } + } + }, + "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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1472601294517517 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.15415239334106445 + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08779958635568619 + }, + "else": { + "operation": "boost", + "score": -0.11872446537017822 + } + }, + "else": { + "operation": "boost", + "score": 0.3145996630191803 + } + }, + "else": { + "operation": "boost", + "score": -0.0897774025797844 + } + }, + "else": { + "operation": "boost", + "score": 0.054647110402584076 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.018742404878139496 + }, + "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 + } + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.013605332002043724 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05421430617570877 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11978565156459808 + }, + "else": { + "operation": "boost", + "score": 0.12079157680273056 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 555.5, + "then": { + "operation": "boost", + "score": 0.06050417199730873 + }, + "else": { + "operation": "boost", + "score": 0.10119862109422684 + } + }, + "else": { + "operation": "boost", + "score": 0.022516267374157906 + } + }, + "else": { + "operation": "boost", + "score": 0.10791440308094025 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "boost", + "score": 0.029111221432685852 + }, + "else": { + "operation": "boost", + "score": -0.1648903340101242 + } + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": -0.07087880373001099 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.11953195184469223 + }, + "else": { + "operation": "boost", + "score": 0.04828757792711258 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11512485146522522 + }, + "else": { + "operation": "boost", + "score": -0.06078634038567543 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": -0.1708861142396927 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0939004048705101 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.35159802436828613 + }, + "else": { + "operation": "boost", + "score": 0.1003483459353447 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04128149151802063 + }, + "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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.5819617509841919 + }, + "else": { + "operation": "boost", + "score": -0.006391118746250868 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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": 17.5, + "then": { + "operation": "boost", + "score": 0.10236957669258118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.38169926404953003 + }, + "else": { + "operation": "boost", + "score": -0.023682430386543274 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.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", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.005185380578041077 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.10830139368772507 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.19639261066913605 + }, + "else": { + "operation": "boost", + "score": 0.08686859905719757 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.21850542724132538 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.6294516324996948 + }, + "else": { + "operation": "boost", + "score": 0.0720391795039177 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12195112556219101 + }, + "else": { + "operation": "boost", + "score": 0.08396441489458084 + } + } + }, + "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.017404837533831596 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.1091281920671463 + }, + "else": { + "operation": "boost", + "score": 0.08748820424079895 + } + }, + "else": { + "operation": "boost", + "score": 0.003254376817494631 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.004748936742544174 + }, + "else": { + "operation": "boost", + "score": -0.07181992381811142 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03822295367717743 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010062793269753456 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004175631329417229 + } + }, + "else": { + "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": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.007227604743093252 + }, + "else": { + "operation": "boost", + "score": -0.8678705096244812 + } + }, + "else": { + "operation": "boost", + "score": 0.04164764657616615 + } + }, + "else": { + "operation": "boost", + "score": 0.08618824928998947 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, + "then": { + "operation": "boost", + "score": 0.004690710920840502 + }, + "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": 44315.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47131.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.06985002011060715 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05788697302341461 + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003661952679976821 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32671.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "boost", + "score": 0.02465985156595707 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33437.5, + "then": { + "operation": "boost", + "score": 0.14688119292259216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.01589057594537735 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11168211698532104 + }, + "else": { + "operation": "boost", + "score": -0.3889642059803009 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1835159808397293 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.018470631912350655 + }, + "else": { + "operation": "boost", + "score": 0.082525335252285 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.28160905838012695 + } + }, + "else": { + "operation": "boost", + "score": 0.18628795444965363 + } + }, + "else": { + "operation": "boost", + "score": 0.012375842779874802 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.2219822257757187 + }, + "else": { + "operation": "boost", + "score": 0.017621980980038643 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32455.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09801862388849258 + }, + "else": { + "operation": "boost", + "score": -0.18236017227172852 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10675165802240372 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.044007137417793274 + }, + "else": { + "operation": "boost", + "score": -0.4466812312602997 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 185.5, + "then": { + "operation": "boost", + "score": 0.11093902587890625 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.030992558225989342 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10128431767225266 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.1108444482088089 + }, + "else": { + "operation": "boost", + "score": -0.11560466140508652 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.12032958120107651 + }, + "else": { + "operation": "boost", + "score": 0.05657310038805008 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.15322856605052948 + }, + "else": { + "operation": "boost", + "score": -0.2886093854904175 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.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": 3.5, + "then": { + "operation": "boost", + "score": -0.03771284222602844 + }, + "else": { + "operation": "boost", + "score": 0.11152270436286926 + } + }, + "else": { + "operation": "boost", + "score": -0.11029686778783798 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.050944797694683075 + }, + "else": { + "operation": "boost", + "score": 0.12485094368457794 + } + }, + "else": { + "operation": "boost", + "score": 0.1010032594203949 + } + }, + "else": { + "operation": "boost", + "score": 0.07018247246742249 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.27161335945129395 + }, + "else": { + "operation": "boost", + "score": 0.11001067608594894 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": -0.002518679480999708 + }, + "else": { + "operation": "boost", + "score": 0.19042399525642395 + } + }, + "else": { + "operation": "boost", + "score": 0.053387004882097244 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.112202949821949 + }, + "else": { + "operation": "boost", + "score": 1.7745234966278076 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1170940101146698 + }, + "else": { + "operation": "boost", + "score": -0.10057636350393295 + } + }, + "else": { + "operation": "boost", + "score": 0.11794371157884598 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.0, + "then": { + "operation": "boost", + "score": -0.2896144986152649 + }, + "else": { + "operation": "boost", + "score": 0.12241856008768082 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.08498243242502213 + }, + "else": { + "operation": "boost", + "score": 0.03783873841166496 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10384520143270493 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.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, + "then": { + "operation": "boost", + "score": 0.10676722228527069 + }, + "else": { + "operation": "boost", + "score": -0.06149527058005333 + } + } + } + } + }, + "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 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.043793682008981705 + } + } + } + } + }, + "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.09691125154495239 + }, + "else": { + "operation": "boost", + "score": 0.06698805838823318 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.06027073413133621 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.0, + "then": { + "operation": "boost", + "score": 0.20886994898319244 + }, + "else": { + "operation": "boost", + "score": 0.16721300780773163 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.3666510581970215 + } + }, + "else": { + "operation": "boost", + "score": -0.1430489420890808 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02688806876540184 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0483345091342926 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.1307082176208496 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.10708951205015182 + }, + "else": { + "operation": "boost", + "score": 0.0893334373831749 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04451318457722664 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 2.1663622856140137 + }, + "else": { + "operation": "boost", + "score": -0.6148396134376526 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07938815653324127 + }, + "else": { + "operation": "boost", + "score": 0.11325088143348694 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09470188617706299 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024682777002453804 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.04130346700549126 + }, + "else": { + "operation": "boost", + "score": 0.016459250822663307 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10648291558027267 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03402630239725113 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1734.5, + "then": { + "operation": "boost", + "score": -0.008257708512246609 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05167171731591225 + }, + "else": { + "operation": "boost", + "score": 0.07614462077617645 + } + }, + "else": { + "operation": "boost", + "score": 0.021245259791612625 + } + }, + "else": { + "operation": "boost", + "score": 0.00011457181972218677 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0028828929644078016 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04579218477010727 + }, + "else": { + "operation": "boost", + "score": -0.34783098101615906 + } + }, + "else": { + "operation": "boost", + "score": -0.05404384806752205 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "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": 194.0, + "then": { + "operation": "boost", + "score": 0.05728825181722641 + }, + "else": { + "operation": "boost", + "score": 0.12974080443382263 + } + }, + "else": { + "operation": "boost", + "score": -0.07740528881549835 + } + }, + "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": "boost", + "score": 0.11351347714662552 + }, + "else": { + "operation": "boost", + "score": 0.06775108724832535 + } + }, + "else": { + "operation": "boost", + "score": -0.516737699508667 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.041773561388254166 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "boost", + "score": -0.0773673951625824 + }, + "else": { + "operation": "boost", + "score": 0.11158716678619385 + } + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11750616878271103 + }, + "else": { + "operation": "boost", + "score": 0.054246362298727036 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.4871157109737396 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.6295765042304993 + }, + "else": { + "operation": "boost", + "score": 0.10994255542755127 + } + }, + "else": { + "operation": "boost", + "score": -0.008721131831407547 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012067661620676517 + }, + "else": { + "operation": "boost", + "score": 0.12437772005796432 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007408999837934971 + } + }, + "else": { + "operation": "boost", + "score": -0.01118456106632948 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10640307515859604 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0007215942605398595 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 156.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.161006897687912 + }, + "else": { + "operation": "boost", + "score": 0.10441940277814865 + } + }, + "else": { + "operation": "boost", + "score": 0.10748926550149918 + } + }, + "else": { + "operation": "boost", + "score": 0.12665052711963654 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 562.0, + "then": { + "operation": "boost", + "score": 0.10874500125646591 + }, + "else": { + "operation": "boost", + "score": -0.2694741189479828 + } + }, + "else": { + "operation": "boost", + "score": 0.047028861939907074 + } + }, + "else": { + "operation": "boost", + "score": 0.042380739003419876 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "boost", + "score": 0.18295587599277496 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12369673699140549 + }, + "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, + "then": { + "operation": "boost", + "score": 0.009492752142250538 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11819758266210556 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.15402840077877045 + }, + "else": { + "operation": "boost", + "score": 0.12478873878717422 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.5, + "then": { + "operation": "boost", + "score": 0.07118381559848785 + }, + "else": { + "operation": "boost", + "score": 0.12684199213981628 + } + }, + "else": { + "operation": "boost", + "score": 0.12463778257369995 + } + } + }, + "else": { + "operation": "boost", + "score": 0.047817450016736984 + } + }, + "else": { + "operation": "boost", + "score": 0.08912825584411621 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0649515762925148 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03131481260061264 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": 0.006854313425719738 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14504694938659668 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10749111324548721 + }, + "else": { + "operation": "boost", + "score": 0.2360616773366928 + } + }, + "else": { + "operation": "boost", + "score": -0.09715855866670609 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11911323666572571 + }, + "else": { + "operation": "boost", + "score": -0.06563258171081543 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01936560682952404 + } + }, + "else": { + "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", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82.5, + "then": { + "operation": "boost", + "score": 0.02430550567805767 + }, + "else": { + "operation": "boost", + "score": 0.11530931293964386 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": -0.3449927568435669 + }, + "else": { + "operation": "boost", + "score": 0.10369312018156052 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02084817737340927 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "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" + ], + "then": { + "operation": "boost", + "score": -0.040040552616119385 + }, + "else": { + "operation": "boost", + "score": -0.1558903008699417 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.08162271976470947 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.20734339952468872 + }, + "else": { + "operation": "boost", + "score": 0.11421925574541092 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11638131737709045 + }, + "else": { + "operation": "boost", + "score": 0.13345442712306976 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07294102758169174 + }, + "else": { + "operation": "boost", + "score": 0.12365346401929855 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.0, + "then": { + "operation": "boost", + "score": -0.08516839891672134 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "boost", + "score": 0.12077542394399643 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.0, + "then": { + "operation": "boost", + "score": 0.32177653908729553 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.1112876832485199 + }, + "else": { + "operation": "boost", + "score": 0.09035604447126389 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.14231854677200317 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6782.5, + "then": { + "operation": "boost", + "score": -0.15349195897579193 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.11837304383516312 + }, + "else": { + "operation": "boost", + "score": 0.10605146735906601 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.017590491101145744 + }, + "else": { + "operation": "boost", + "score": 0.10768385976552963 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09866251796483994 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.15507620573043823 + }, + "else": { + "operation": "boost", + "score": 0.08699602633714676 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03394439443945885 + } + } + }, + "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.000861298234667629 + }, + "else": { + "operation": "boost", + "score": -0.14924052357673645 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06358671933412552 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.0, + "then": { + "operation": "boost", + "score": 0.06390711665153503 + }, + "else": { + "operation": "boost", + "score": 0.10540873557329178 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18302659690380096 + } + }, + "else": { + "operation": "boost", + "score": -0.028619885444641113 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3202.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3510.5, + "then": { + "operation": "boost", + "score": 0.1447056084871292 + }, + "else": { + "operation": "boost", + "score": 0.1675879806280136 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.025287766009569168 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003781005274504423 + } + } + } + } + }, + "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": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.1390744298696518 + }, + "else": { + "operation": "boost", + "score": 0.11982416361570358 + } + }, + "else": { + "operation": "boost", + "score": -0.08522719144821167 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.15722793340682983 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.018413253128528595 + }, + "else": { + "operation": "boost", + "score": 0.1141149252653122 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02615457959473133 + } + }, + "else": { + "operation": "boost", + "score": -0.01788199134171009 + } + }, + "else": { + "operation": "boost", + "score": -0.009142412804067135 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.036567218601703644 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188.5, + "then": { + "operation": "boost", + "score": 0.06980985403060913 + }, + "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": 170.0, + "then": { + "operation": "boost", + "score": 0.11529244482517242 + }, + "else": { + "operation": "boost", + "score": 0.06875057518482208 + } + }, + "else": { + "operation": "boost", + "score": 0.01757941022515297 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.11924174427986145 + }, + "else": { + "operation": "boost", + "score": 0.05972782522439957 + } + }, + "else": { + "operation": "boost", + "score": 0.040065087378025055 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3322.0, + "then": { + "operation": "boost", + "score": 0.02353762462735176 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.16844575107097626 + }, + "else": { + "operation": "boost", + "score": 0.009250876493752003 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.5, + "then": { + "operation": "boost", + "score": 0.024343935772776604 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1213458925485611 + }, + "else": { + "operation": "boost", + "score": 0.05937102437019348 + } + } + } + } + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": -0.11820068210363388 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12209583818912506 + }, + "else": { + "operation": "boost", + "score": -0.9576053619384766 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 503.0, + "then": { + "operation": "boost", + "score": 0.02612495608627796 + }, + "else": { + "operation": "boost", + "score": 0.09228013455867767 + } + }, + "else": { + "operation": "boost", + "score": -0.10931191593408585 + } + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.021855147555470467 + }, + "else": { + "operation": "boost", + "score": 0.10593999177217484 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0949154645204544 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.30748119950294495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.11282020062208176 + }, + "else": { + "operation": "boost", + "score": -0.18517284095287323 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 141.5, + "then": { + "operation": "boost", + "score": -0.7775967717170715 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.01612965576350689 + }, + "else": { + "operation": "boost", + "score": -0.046351999044418335 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01041452493518591 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.06806500256061554 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1088186725974083 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08758703619241714 + }, + "else": { + "operation": "boost", + "score": -0.09523799270391464 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10781323909759521 + }, + "else": { + "operation": "boost", + "score": 0.013676971197128296 + } + } + }, + "else": { + "operation": "boost", + "score": -0.002813103375956416 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "boost", + "score": 0.15821456909179688 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.07242527604103088 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.18179616332054138 + }, + "else": { + "operation": "boost", + "score": -0.28320229053497314 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1177343875169754 + }, + "else": { + "operation": "boost", + "score": 0.13450723886489868 + } + }, + "else": { + "operation": "boost", + "score": -0.10848194360733032 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.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, + "then": { + "operation": "boost", + "score": 0.04648416489362717 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06421436369419098 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.10566785931587219 + }, + "else": { + "operation": "boost", + "score": -0.13832591474056244 + } + }, + "else": { + "operation": "boost", + "score": 0.13013219833374023 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.19910037517547607 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12598076462745667 + }, + "else": { + "operation": "boost", + "score": 0.056277256458997726 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.1357027143239975 + }, + "else": { + "operation": "boost", + "score": -0.014622021466493607 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.13512299954891205 + }, + "else": { + "operation": "boost", + "score": 0.08438566327095032 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.11187755316495895 + } + }, + "else": { + "operation": "boost", + "score": 0.04665309190750122 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11369418352842331 + }, + "else": { + "operation": "boost", + "score": -0.10147716850042343 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": -0.05110141262412071 + }, + "else": { + "operation": "boost", + "score": 0.1289069503545761 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": 0.048056118190288544 + }, + "else": { + "operation": "boost", + "score": 0.10339994728565216 + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.019420918077230453 + }, + "else": { + "operation": "boost", + "score": -0.021928567439317703 + } + }, + "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" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.057142067700624466 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0030590032692998648 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08512745797634125 + }, + "else": { + "operation": "boost", + "score": 0.23394611477851868 + } + }, + "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", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.14936475455760956 + }, + "else": { + "operation": "boost", + "score": 0.09511395543813705 + } + }, + "else": { + "operation": "boost", + "score": 0.011005595326423645 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05311960726976395 + } + } + } + }, + "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" + ], + "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": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12203361839056015 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03861714527010918 + }, + "else": { + "operation": "boost", + "score": -0.007135708350688219 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0779218077659607 + } + }, + "else": { + "operation": "boost", + "score": 0.008269991725683212 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.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": 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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04229157418012619 + }, + "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": 3.5, + "then": { + "operation": "boost", + "score": 0.011320444755256176 + }, + "else": { + "operation": "boost", + "score": 0.07000748068094254 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.057095542550086975 + }, + "else": { + "operation": "boost", + "score": 0.10828155279159546 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.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 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": -0.036256931722164154 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.09525392204523087 + }, + "else": { + "operation": "boost", + "score": 0.11360400170087814 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.0, + "then": { + "operation": "boost", + "score": -0.21122059226036072 + }, + "else": { + "operation": "boost", + "score": 0.12520831823349 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.03619895130395889 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12271273136138916 + }, + "else": { + "operation": "boost", + "score": 0.1295446753501892 + } + } + }, + "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.024922851473093033 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.08376506716012955 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.14429816603660583 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.07753162086009979 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -1.2764149904251099 + }, + "else": { + "operation": "boost", + "score": 0.1356973797082901 + } + }, + "else": { + "operation": "boost", + "score": -0.20222458243370056 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06860484182834625 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.17165344953536987 + }, + "else": { + "operation": "boost", + "score": 0.01160530373454094 + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.07034735381603241 + }, + "else": { + "operation": "boost", + "score": 0.1162092462182045 + } + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.1026507019996643 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.14347973465919495 + }, + "else": { + "operation": "boost", + "score": 0.04358014091849327 + } + } + }, + "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": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.002211468992754817 + }, + "else": { + "operation": "boost", + "score": 0.03921035677194595 + } + } + } + }, + "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.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" + ], + "then": { + "operation": "boost", + "score": 0.033611711114645004 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.10469235479831696 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09554276615381241 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08490436524152756 + }, + "else": { + "operation": "boost", + "score": -0.04040446877479553 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008593076840043068 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0015434769447892904 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.039015043526887894 + }, + "else": { + "operation": "boost", + "score": 0.013486308977007866 + } + }, + "else": { + "operation": "boost", + "score": 0.06161129102110863 + } + } + }, + "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": 3.5, + "then": { + "operation": "boost", + "score": 0.00866248644888401 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05387132614850998 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.15328316390514374 + }, + "else": { + "operation": "boost", + "score": 0.09239138662815094 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0010502688819542527 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0033430468756705523 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.013225767761468887 + }, + "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.009941363707184792 + }, + "else": { + "operation": "boost", + "score": -0.08724208176136017 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.058344822376966476 + }, + "else": { + "operation": "boost", + "score": 0.013678942807018757 + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02642148919403553 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.07973996549844742 + }, + "else": { + "operation": "boost", + "score": 0.04654913768172264 + } + } + }, + "else": { + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0021812627092003822 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.03688155487179756 + }, + "else": { + "operation": "boost", + "score": 0.04765399917960167 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00668365927413106 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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_ParenthesizedExpression" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0280148908495903 + } + }, + "else": { + "operation": "boost", + "score": -0.011505454778671265 + } + }, + "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", + "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.008066544309258461 + }, + "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_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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.016372153535485268 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.00419505313038826 + }, + "else": { + "operation": "boost", + "score": -0.007232964504510164 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0034797340631484985 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06838240474462509 + }, + "else": { + "operation": "boost", + "score": 0.01874573342502117 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1098882332444191 + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11695173382759094 + }, + "else": { + "operation": "boost", + "score": 0.08833470940589905 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Function" + ], + "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_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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": "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 + } + }, + "else": { + "operation": "boost", + "score": -0.015104270540177822 + } + }, + "else": { + "operation": "boost", + "score": 0.06968655437231064 + } + }, + "else": { + "operation": "boost", + "score": 0.01640373468399048 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.015479410998523235 + }, + "else": { + "operation": "boost", + "score": -0.03117966465651989 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03751738741993904 + } + }, + "else": { + "operation": "boost", + "score": 0.013010809198021889 + } + }, + "else": { + "operation": "boost", + "score": -0.027944903820753098 + } + }, + "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_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.014812009409070015 + }, + "else": { + "operation": "boost", + "score": 0.00041775565478019416 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0012003610609099269 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.02373446896672249 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.20489245653152466 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.07078671455383301 + }, + "else": { + "operation": "boost", + "score": 0.036141686141490936 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.18775926530361176 + }, + "else": { + "operation": "boost", + "score": 0.03717409819364548 + } + }, + "else": { + "operation": "boost", + "score": -0.00884848553687334 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0030044689774513245 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14527.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "boost", + "score": -0.06375101953744888 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12965601682662964 + }, + "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 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.0032236238475888968 + }, + "else": { + "operation": "boost", + "score": -0.013329068198800087 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.04254346713423729 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09601124376058578 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.0, + "then": { + "operation": "boost", + "score": 0.1111203208565712 + }, + "else": { + "operation": "boost", + "score": 0.39550548791885376 + } + }, + "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": "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0542275570333004 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.008304080925881863 + }, + "else": { + "operation": "boost", + "score": -0.011700725182890892 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "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": "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 + } + }, + "else": { + "operation": "boost", + "score": 0.034139398485422134 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.013642699457705021 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.17179463803768158 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.047096509486436844 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11714070290327072 + }, + "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, + "then": { + "operation": "boost", + "score": -0.04189414903521538 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.007545459549874067 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.11492160707712173 + }, + "else": { + "operation": "boost", + "score": -0.03286270797252655 + } + }, + "else": { + "operation": "boost", + "score": 0.07965756952762604 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.1444476693868637 + }, + "else": { + "operation": "boost", + "score": -0.05797233432531357 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": 0.08105119317770004 + }, + "else": { + "operation": "boost", + "score": -0.04026263207197189 + } + }, + "else": { + "operation": "boost", + "score": 0.10073967278003693 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33451.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0096252067014575 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23864.0, + "then": { + "operation": "boost", + "score": -0.7861754298210144 + }, + "else": { + "operation": "boost", + "score": -0.09916404634714127 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21064.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24900.5, + "then": { + "operation": "boost", + "score": 0.041883260011672974 + }, + "else": { + "operation": "boost", + "score": 0.11145279556512833 + } + }, + "else": { + "operation": "boost", + "score": -0.06802007555961609 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8864.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11877.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12495.0, + "then": { + "operation": "boost", + "score": -0.353831022977829 + }, + "else": { + "operation": "boost", + "score": 0.23003828525543213 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11359.0, + "then": { + "operation": "boost", + "score": -1.295632243156433 + }, + "else": { + "operation": "boost", + "score": -0.16082176566123962 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7746.0, + "then": { + "operation": "boost", + "score": 0.09943704307079315 + }, + "else": { + "operation": "boost", + "score": -0.019461914896965027 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102876.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": -0.00041544329724274576 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04421423375606537 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.08794663846492767 + }, + "else": { + "operation": "boost", + "score": 0.027000026777386665 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1195250079035759 + }, + "else": { + "operation": "boost", + "score": 0.15387791395187378 + } + }, + "else": { + "operation": "boost", + "score": 0.09873789548873901 + } + }, + "else": { + "operation": "boost", + "score": 0.01993623562157154 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15908686816692352 + }, + "else": { + "operation": "boost", + "score": 0.030343905091285706 + } + }, + "else": { + "operation": "boost", + "score": 0.08965416252613068 + } + }, + "else": { + "operation": "boost", + "score": 0.014205546118319035 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62840.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.49680620431900024 + }, + "else": { + "operation": "boost", + "score": 0.02546386979520321 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03345061466097832 + }, + "else": { + "operation": "boost", + "score": 0.0657317042350769 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13056956231594086 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04438227415084839 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013654517941176891 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 475.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, + "then": { + "operation": "boost", + "score": 0.013025034219026566 + }, + "else": { + "operation": "boost", + "score": -0.007858779281377792 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 472.5, + "then": { + "operation": "boost", + "score": 0.104280024766922 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12873530387878418 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.09802952408790588 + }, + "else": { + "operation": "boost", + "score": -0.08398615568876266 + } + } + }, + "else": { + "operation": "if_greater", + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09421862661838531 + }, + "else": { + "operation": "boost", + "score": 0.10281269252300262 + } + }, + "else": { + "operation": "boost", + "score": 0.07571689039468765 + } + }, + "else": { + "operation": "boost", + "score": 0.10515517741441727 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.05149094760417938 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1046968400478363 + }, + "else": { + "operation": "boost", + "score": -0.0005072098574601114 + } + }, + "else": { + "operation": "boost", + "score": 0.11403448134660721 + } + } + }, + "else": { + "operation": "boost", + "score": -0.4396163821220398 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 475.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10726.5, + "then": { + "operation": "boost", + "score": 0.049706120043992996 + }, + "else": { + "operation": "boost", + "score": -0.02724013663828373 + } + }, + "else": { + "operation": "boost", + "score": 0.10298053920269012 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3495.0, + "then": { + "operation": "boost", + "score": 0.0074516115710139275 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2022.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05872407183051109 + }, + "else": { + "operation": "boost", + "score": 0.1025756299495697 + } + }, + "else": { + "operation": "boost", + "score": 0.09139227867126465 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 695.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.009513682685792446 + }, + "else": { + "operation": "boost", + "score": 0.11600695550441742 + } + }, + "else": { + "operation": "boost", + "score": 0.02372433803975582 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1319.5, + "then": { + "operation": "boost", + "score": -0.5269585847854614 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 983.0, + "then": { + "operation": "boost", + "score": 0.08667510002851486 + }, + "else": { + "operation": "boost", + "score": -0.07871520519256592 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74277.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97230.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "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" + ], + "then": { + "operation": "boost", + "score": 0.1165803074836731 + }, + "else": { + "operation": "boost", + "score": -0.1236967071890831 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11147240549325943 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 907.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 943.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1480.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1361.5, + "then": { + "operation": "boost", + "score": 0.10786738991737366 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1207.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1269.5, + "then": { + "operation": "boost", + "score": -0.10046670585870743 + }, + "else": { + "operation": "boost", + "score": 0.12259870022535324 + } + }, + "else": { + "operation": "boost", + "score": -0.1732507348060608 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10992058366537094 + } + }, + "else": { + "operation": "boost", + "score": 0.015915418043732643 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "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.02922183834016323 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.055760953575372696 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190994.0, + "then": { + "operation": "boost", + "score": 0.09512417018413544 + }, + "else": { + "operation": "boost", + "score": 0.10590201616287231 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03282470628619194 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33671.5, + "then": { + "operation": "boost", + "score": -0.0621037594974041 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0918041244149208 + }, + "else": { + "operation": "boost", + "score": 0.08065609633922577 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010526343248784542 + } + } + }, + "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": "NumReferences", + "threshold": 28763.0, + "then": { + "operation": "boost", + "score": 0.08722221106290817 + }, + "else": { + "operation": "boost", + "score": 0.09457238018512726 + } + }, + "else": { + "operation": "boost", + "score": 0.10383592545986176 + } + }, + "else": { + "operation": "boost", + "score": 0.14797702431678772 + } + }, + "else": { + "operation": "boost", + "score": 0.09357935190200806 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 500.0, + "then": { + "operation": "boost", + "score": 0.00765174999833107 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.17190979421138763 + }, + "else": { + "operation": "boost", + "score": 0.10036245733499527 + } + }, + "else": { + "operation": "boost", + "score": -0.016451096162199974 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.00885122362524271 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11749139428138733 + }, + "else": { + "operation": "boost", + "score": 0.08854670077562332 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07400337606668472 + } + }, + "else": { + "operation": "boost", + "score": 0.07956723868846893 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 342801.0, + "then": { + "operation": "boost", + "score": -0.18529435992240906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65729.5, + "then": { + "operation": "boost", + "score": 0.09299217909574509 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.06155036389827728 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 872.5, + "then": { + "operation": "boost", + "score": 0.10649733990430832 + }, + "else": { + "operation": "boost", + "score": 0.08957958221435547 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.09451822191476822 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 979.5, + "then": { + "operation": "boost", + "score": 0.10185626894235611 + }, + "else": { + "operation": "boost", + "score": -0.06641755998134613 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1251853108406067 + } + }, + "else": { + "operation": "boost", + "score": -0.06290196627378464 + } + }, + "else": { + "operation": "boost", + "score": -0.4353429079055786 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.014621580950915813 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04333719238638878 + }, + "else": { + "operation": "boost", + "score": -0.060334958136081696 + } + } + }, + "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": 11.0, + "then": { + "operation": "boost", + "score": -0.026139430701732635 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1095.5, + "then": { + "operation": "boost", + "score": 0.10973634570837021 + }, + "else": { + "operation": "boost", + "score": 0.08110271394252777 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10689907521009445 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219281.5, + "then": { + "operation": "boost", + "score": 0.12039533257484436 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5929.5, + "then": { + "operation": "boost", + "score": 0.11416389048099518 + }, + "else": { + "operation": "boost", + "score": -0.025264866650104523 + } + }, + "else": { + "operation": "boost", + "score": 0.021344583481550217 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013128750026226044 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71571.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1079682856798172 + }, + "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": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.037329863756895065 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.04550931975245476 + }, + "else": { + "operation": "boost", + "score": 0.09670384228229523 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07008667290210724 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5523.5, + "then": { + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.1465161144733429 + }, + "else": { + "operation": "boost", + "score": 0.09183551371097565 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.3324034810066223 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12816748023033142 + }, + "else": { + "operation": "boost", + "score": 0.1111770048737526 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6407.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03448802977800369 + } + }, + "else": { + "operation": "boost", + "score": 0.04501877352595329 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012885569594800472 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "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", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10529.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0680752545595169 + }, + "else": { + "operation": "boost", + "score": 0.10074491798877716 + } + }, + "else": { + "operation": "boost", + "score": 0.10451943427324295 + } + }, + "else": { + "operation": "boost", + "score": -0.21754220128059387 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1545216143131256 + }, + "else": { + "operation": "boost", + "score": 0.18419408798217773 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 471.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1148887574672699 + }, + "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, + "then": { + "operation": "boost", + "score": -0.07083892077207565 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06984751671552658 + }, + "else": { + "operation": "boost", + "score": -0.11350200325250626 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09228876233100891 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07025540620088577 + }, + "else": { + "operation": "boost", + "score": -0.22211124002933502 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2358.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2403.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2606.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3439.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 + } + }, + "else": { + "operation": "boost", + "score": -0.047189727425575256 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2551.0, + "then": { + "operation": "boost", + "score": 0.11386572569608688 + }, + "else": { + "operation": "boost", + "score": 0.05069194361567497 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.026371672749519348 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2398.5, + "then": { + "operation": "boost", + "score": 0.10373427718877792 + }, + "else": { + "operation": "boost", + "score": 0.05703537538647652 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280.0, + "then": { + "operation": "boost", + "score": -0.03900931030511856 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1072.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074.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_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10710115730762482 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11244754493236542 + }, + "else": { + "operation": "boost", + "score": -0.18095989525318146 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1272.0, + "then": { + "operation": "boost", + "score": 0.09624018520116806 + }, + "else": { + "operation": "boost", + "score": -0.04035240411758423 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10655342787504196 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.04031277075409889 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.0860976129770279 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.30812254548072815 + }, + "else": { + "operation": "boost", + "score": -0.10214551538228989 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08333512395620346 + } + } + } + } + } + }, + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09179790318012238 + }, + "else": { + "operation": "boost", + "score": -0.0540766678750515 + } + }, + "else": { + "operation": "boost", + "score": -0.26507794857025146 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.2819637060165405 + }, + "else": { + "operation": "boost", + "score": 0.10326588898897171 + } + }, + "else": { + "operation": "boost", + "score": -0.03364605829119682 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 588.5, + "then": { + "operation": "boost", + "score": 0.013034546747803688 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 553.0, + "then": { + "operation": "boost", + "score": 0.10710617154836655 + }, + "else": { + "operation": "boost", + "score": 0.017699643969535828 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0002659987367223948 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00044889954733662307 + } + }, + { + "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": "FileProximityDistance", + "threshold": 6.5, + "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.016785845160484314 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11168386042118073 + }, + "else": { + "operation": "boost", + "score": 0.007066663820296526 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.019299881532788277 + }, + "else": { + "operation": "boost", + "score": -0.010495228692889214 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017110781744122505 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.017261886969208717 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.05763005465269089 + }, + "else": { + "operation": "boost", + "score": 0.019147638231515884 + } + }, + "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.30000001192092896, + "then": { + "operation": "boost", + "score": 0.05028461292386055 + }, + "else": { + "operation": "boost", + "score": -0.08478501439094543 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.08469337224960327 + }, + "else": { + "operation": "boost", + "score": 0.00712175015360117 + } + } + } + } + }, + "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": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.10902635008096695 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 425.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 552.0, + "then": { + "operation": "boost", + "score": 0.04507388174533844 + }, + "else": { + "operation": "boost", + "score": 0.10560883581638336 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1854.0, + "then": { + "operation": "boost", + "score": 0.05340993031859398 + }, + "else": { + "operation": "boost", + "score": -0.04234430566430092 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07330624759197235 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12240402400493622 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.11923295259475708 + }, + "else": { + "operation": "boost", + "score": 0.16721244156360626 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0646238774061203 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11861936748027802 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.45153310894966125 + }, + "else": { + "operation": "boost", + "score": 0.07381360977888107 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004229751881211996 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 752.5, + "then": { + "operation": "boost", + "score": -0.1714569479227066 + }, + "else": { + "operation": "boost", + "score": 0.11714361608028412 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10862932354211807 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 1.1893901824951172 + }, + "else": { + "operation": "boost", + "score": 0.11063363403081894 + } + }, + "else": { + "operation": "boost", + "score": -0.5776346921920776 + } + }, + "else": { + "operation": "boost", + "score": 0.11238817870616913 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03884301334619522 + } + } + }, + "else": { + "operation": "boost", + "score": -0.033398713916540146 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015284707769751549 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.34506165981292725 + }, + "else": { + "operation": "boost", + "score": 0.10164035111665726 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.007703064940869808 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 932.0, + "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, + "then": { + "operation": "boost", + "score": 0.20138245820999146 + }, + "else": { + "operation": "boost", + "score": 0.05786397308111191 + } + }, + "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", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.017277568578720093 + }, + "else": { + "operation": "boost", + "score": 0.0897487998008728 + } + }, + "else": { + "operation": "boost", + "score": 0.0032347904052585363 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.26542770862579346 + } + }, + "else": { + "operation": "boost", + "score": -0.09625058621168137 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 569.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15475.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.008032547309994698 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.08932702988386154 + }, + "else": { + "operation": "boost", + "score": 0.1926080584526062 + } + }, + "else": { + "operation": "boost", + "score": 0.05264394357800484 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0833066925406456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "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, + "then": { + "operation": "boost", + "score": 0.026317158713936806 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6320.5, + "then": { + "operation": "boost", + "score": 0.10412044823169708 + }, + "else": { + "operation": "boost", + "score": 0.14601384103298187 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09935988485813141 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.41158485412597656 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11254986375570297 + }, + "else": { + "operation": "boost", + "score": 0.1183534488081932 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12253343313932419 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.016741616651415825 + } + } + } + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.0003549506946001202 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08521690964698792 + }, + "else": { + "operation": "boost", + "score": 0.11274216324090958 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.12992984056472778 + }, + "else": { + "operation": "boost", + "score": 0.05233369767665863 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12600955367088318 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.017736589536070824 + }, + "else": { + "operation": "boost", + "score": 0.11446299403905869 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11670943349599838 + }, + "else": { + "operation": "boost", + "score": 0.1385016292333603 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08006307482719421 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06119576841592789 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14107182621955872 + }, + "else": { + "operation": "boost", + "score": 0.11911513656377792 + } + }, + "else": { + "operation": "boost", + "score": -0.1211325153708458 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09985263645648956 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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": 47.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.5, + "then": { + "operation": "boost", + "score": 0.0022628442384302616 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "boost", + "score": 0.11133922636508942 + }, + "else": { + "operation": "boost", + "score": 0.07943283766508102 + } + } + }, + "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, + "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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05007427930831909 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03332092985510826 + } + }, + "else": { + "operation": "boost", + "score": 0.004645098932087421 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05303996056318283 + }, + "else": { + "operation": "boost", + "score": 0.03878851234912872 + } + }, + "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", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.12197471410036087 + }, + "else": { + "operation": "boost", + "score": 0.11416097730398178 + } + }, + "else": { + "operation": "boost", + "score": -0.1367906779050827 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10978830605745316 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.18990421295166016 + }, + "else": { + "operation": "boost", + "score": 0.11176169663667679 + } + } + } + }, + "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": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.09688618034124374 + }, + "else": { + "operation": "boost", + "score": 0.026315782219171524 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02868509292602539 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08961281180381775 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08185603469610214 + } + }, + "else": { + "operation": "boost", + "score": -0.007181114517152309 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0037166192196309566 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03363978862762451 + } + }, + "else": { + "operation": "boost", + "score": -0.029980013146996498 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10945163667201996 + }, + "else": { + "operation": "boost", + "score": -0.0553695447742939 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 204563.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 291408.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": 0.0024278981145471334 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.024319041520357132 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10364139080047607 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13637864589691162 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.09275941550731659 + }, + "else": { + "operation": "boost", + "score": 0.03392545506358147 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": -0.1806473582983017 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010416342876851559 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09033134579658508 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08343096077442169 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02821185626089573 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.10060647130012512 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.09339497983455658 + }, + "else": { + "operation": "boost", + "score": 0.0319184847176075 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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_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": 18.5, + "then": { + "operation": "boost", + "score": -0.42966875433921814 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.12092392146587372 + }, + "else": { + "operation": "boost", + "score": 0.08439686894416809 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007899927906692028 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.09267675131559372 + }, + "else": { + "operation": "boost", + "score": 0.058324672281742096 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04015043377876282 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07358673214912415 + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "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 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.014922832138836384 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03910726308822632 + }, + "else": { + "operation": "boost", + "score": 0.05076199397444725 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.059067483991384506 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003910153638571501 + }, + "else": { + "operation": "boost", + "score": 0.08657137304544449 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008123721927404404 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005601499229669571 + } + }, + "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": "boost", + "score": 0.06570083647966385 + }, + "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, + "then": { + "operation": "boost", + "score": 0.058761339634656906 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10474564135074615 + }, + "else": { + "operation": "boost", + "score": 0.05198384448885918 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026996297761797905 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0034589171409606934 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.005049298517405987 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00821500364691019 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55801.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263945.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.021089013665914536 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009005522355437279 + } + }, + "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_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97848.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110487.0, + "then": { + "operation": "boost", + "score": -0.07221165299415588 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12030591815710068 + }, + "else": { + "operation": "boost", + "score": 0.12323503196239471 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20694196224212646 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0721479058265686 + }, + "else": { + "operation": "boost", + "score": -0.028217893093824387 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01139440294355154 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.10637546330690384 + }, + "else": { + "operation": "boost", + "score": -0.3406665623188019 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10313194990158081 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.15038736164569855 + }, + "else": { + "operation": "boost", + "score": 0.1305008977651596 + } + }, + "else": { + "operation": "boost", + "score": 0.2703128159046173 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45940.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23236434161663055 + }, + "else": { + "operation": "boost", + "score": 0.1189349889755249 + } + }, + "else": { + "operation": "boost", + "score": 0.1750495731830597 + } + }, + "else": { + "operation": "boost", + "score": -0.0034737938549369574 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1488642543554306 + }, + "else": { + "operation": "boost", + "score": -0.04309745877981186 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12568651139736176 + }, + "else": { + "operation": "boost", + "score": 0.12140384316444397 + } + }, + "else": { + "operation": "boost", + "score": 0.10962435603141785 + } + }, + "else": { + "operation": "boost", + "score": -0.16556397080421448 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.19400209188461304 + }, + "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, + "then": { + "operation": "boost", + "score": -0.3917343020439148 + }, + "else": { + "operation": "boost", + "score": 0.09699838608503342 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07054756581783295 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.2814561724662781 + }, + "else": { + "operation": "boost", + "score": 0.12074518948793411 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.24163252115249634 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.15277668833732605 + }, + "else": { + "operation": "boost", + "score": 0.09532569348812103 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13994093239307404 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.01310704555362463 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0036440726835280657 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06885266304016113 + }, + "else": { + "operation": "boost", + "score": 0.1277714967727661 + } + }, + "else": { + "operation": "boost", + "score": -0.0021051657386124134 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06788676977157593 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": -0.2608470320701599 + }, + "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.024576149880886078 + }, + "else": { + "operation": "boost", + "score": 0.12735232710838318 + } + }, + "else": { + "operation": "boost", + "score": 0.07807795703411102 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59076.5, + "then": { + "operation": "boost", + "score": -0.16918165981769562 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13285686075687408 + }, + "else": { + "operation": "boost", + "score": 0.10323775559663773 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.2398131638765335 + }, + "else": { + "operation": "boost", + "score": -0.18002186715602875 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07747137546539307 + } + } + } + }, + "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": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09504320472478867 + }, + "else": { + "operation": "boost", + "score": 0.10517525672912598 + } + }, + "else": { + "operation": "boost", + "score": 0.04725424572825432 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129900.0, + "then": { + "operation": "boost", + "score": 0.10329785197973251 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.17400725185871124 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70036.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.034011971205472946 + }, + "else": { + "operation": "boost", + "score": 0.10790858417749405 + } + }, + "else": { + "operation": "boost", + "score": -0.07234317064285278 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0779634341597557 + }, + "else": { + "operation": "boost", + "score": -0.40454408526420593 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017673293128609657 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12498083710670471 + }, + "else": { + "operation": "boost", + "score": 0.2656248211860657 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0008100079721771181 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010555153712630272 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0047194561921060085 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.42586684226989746 + }, + "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": 17.0, + "then": { + "operation": "boost", + "score": -0.18405669927597046 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09475978463888168 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.11758515983819962 + }, + "else": { + "operation": "boost", + "score": 0.12337460368871689 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.22564759850502014 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.13900627195835114 + }, + "else": { + "operation": "boost", + "score": 0.10656696557998657 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.013988341204822063 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.00872087199240923 + }, + "else": { + "operation": "boost", + "score": 0.1299406737089157 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.07786790281534195 + }, + "else": { + "operation": "boost", + "score": -0.19819898903369904 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22884531319141388 + }, + "else": { + "operation": "boost", + "score": 0.12720929086208344 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09978784620761871 + }, + "else": { + "operation": "boost", + "score": 0.03721601888537407 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.037739191204309464 + }, + "else": { + "operation": "boost", + "score": 0.15064367651939392 + } + }, + "else": { + "operation": "boost", + "score": -0.1128796860575676 + } + }, + "else": { + "operation": "boost", + "score": 0.06780444830656052 + } + }, + "else": { + "operation": "boost", + "score": 0.013874637894332409 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15111.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0016518315533176064 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10682718455791473 + }, + "else": { + "operation": "boost", + "score": 0.1195288673043251 + } + }, + "else": { + "operation": "boost", + "score": -0.03672699257731438 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "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_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0596633143723011 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.07348787039518356 + }, + "else": { + "operation": "boost", + "score": 0.10004999488592148 + } + }, + "else": { + "operation": "boost", + "score": -0.3136100172996521 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": 0.004175520036369562 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12275160104036331 + }, + "else": { + "operation": "boost", + "score": -0.18560874462127686 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11767037957906723 + } + }, + "else": { + "operation": "boost", + "score": -0.09419522434473038 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.11481794714927673 + }, + "else": { + "operation": "boost", + "score": 0.12152892351150513 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.08973241597414017 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.41573256254196167 + }, + "else": { + "operation": "boost", + "score": -0.17627190053462982 + } + } + }, + "else": { + "operation": "boost", + "score": -0.056873869150877 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02709449827671051 + } + } + }, + "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_Expression", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.016554642468690872 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09735047817230225 + }, + "else": { + "operation": "boost", + "score": 0.07721327245235443 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.020377710461616516 + }, + "else": { + "operation": "boost", + "score": 0.08393558114767075 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.023271873593330383 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "boost", + "score": 0.06785064935684204 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "boost", + "score": 0.11036460846662521 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11994655430316925 + }, + "else": { + "operation": "boost", + "score": -0.17318153381347656 + } + } + } + }, + "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.11284580826759338 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "boost", + "score": -0.08197824656963348 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.17013698816299438 + }, + "else": { + "operation": "boost", + "score": -0.06581377983093262 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06292141228914261 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205637.0, + "then": { + "operation": "boost", + "score": 0.08976037800312042 + }, + "else": { + "operation": "boost", + "score": 0.1064322292804718 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.2599177658557892 + }, + "else": { + "operation": "boost", + "score": 0.0856519266963005 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": -0.09078316390514374 + }, + "else": { + "operation": "boost", + "score": -0.48465925455093384 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.05561618134379387 + }, + "else": { + "operation": "boost", + "score": -0.3230404555797577 + } + }, + "else": { + "operation": "boost", + "score": 0.024071350693702698 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80547.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88175.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168251.5, + "then": { + "operation": "boost", + "score": 0.03918081149458885 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97784.5, + "then": { + "operation": "boost", + "score": -0.6639447808265686 + }, + "else": { + "operation": "boost", + "score": 0.009836902841925621 + } + } + }, + "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 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11526836454868317 + }, + "else": { + "operation": "boost", + "score": 0.18070633709430695 + } + }, + "else": { + "operation": "boost", + "score": -0.10976088047027588 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011617300100624561 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71608.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10160619020462036 + }, + "else": { + "operation": "boost", + "score": 0.13554465770721436 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09722045063972473 + }, + "else": { + "operation": "boost", + "score": -0.004797533620148897 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00022035888105165213 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.04107141122221947 + }, + "else": { + "operation": "boost", + "score": 0.08372045308351517 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020772352814674377 + }, + "else": { + "operation": "boost", + "score": -0.5380384922027588 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.08308491855859756 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07366950064897537 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04484644532203674 + }, + "else": { + "operation": "boost", + "score": -0.6761625409126282 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09983847290277481 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09440986812114716 + }, + "else": { + "operation": "boost", + "score": 0.00687046442180872 + } + }, + "else": { + "operation": "boost", + "score": 0.08415624499320984 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3635263741016388 + }, + "else": { + "operation": "boost", + "score": 0.06691715866327286 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06643061339855194 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66536.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": -0.10724825412034988 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1070164293050766 + }, + "else": { + "operation": "boost", + "score": 0.11715862900018692 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04754128307104111 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": -0.23779428005218506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73296.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.09309589862823486 + }, + "else": { + "operation": "boost", + "score": 0.07267414778470993 + } + }, + "else": { + "operation": "boost", + "score": 0.051716018468141556 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.037224773317575455 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820317.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.1860598921775818 + }, + "else": { + "operation": "boost", + "score": -0.030858486890792847 + } + }, + "else": { + "operation": "boost", + "score": -0.2283201366662979 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": -0.04241340979933739 + }, + "else": { + "operation": "boost", + "score": 0.06620846688747406 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02240573614835739 + } + }, + "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" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.087156742811203 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.0109478160738945 + }, + "else": { + "operation": "boost", + "score": -0.1567547470331192 + } + }, + "else": { + "operation": "boost", + "score": -0.013424067758023739 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004237089306116104 + } + }, + "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.08692348003387451 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12107592821121216 + }, + "else": { + "operation": "boost", + "score": 0.11217454820871353 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.12078171223402023 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.10872206091880798 + }, + "else": { + "operation": "boost", + "score": 0.13665995001792908 + } + }, + "else": { + "operation": "boost", + "score": 0.09043903648853302 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.004178032744675875 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09798689186573029 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0008031348115764558 + }, + "else": { + "operation": "boost", + "score": -0.28497016429901123 + } + }, + "else": { + "operation": "boost", + "score": -0.015620971098542213 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11070803552865982 + }, + "else": { + "operation": "boost", + "score": 0.030989861115813255 + } + }, + "else": { + "operation": "boost", + "score": -0.16161693632602692 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.030344149097800255 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12420804053544998 + }, + "else": { + "operation": "boost", + "score": -0.09386938810348511 + } + }, + "else": { + "operation": "boost", + "score": -0.0025215258356183767 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.11087586730718613 + }, + "else": { + "operation": "boost", + "score": -0.05360589921474457 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.048712775111198425 + }, + "else": { + "operation": "boost", + "score": 0.1146421805024147 + } + }, + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0268609207123518 + }, + "else": { + "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": "boost", + "score": 0.07612865418195724 + }, + "else": { + "operation": "boost", + "score": -0.21278122067451477 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.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" + ], + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10834863036870956 + }, + "else": { + "operation": "boost", + "score": 0.11288794875144958 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207505.0, + "then": { + "operation": "boost", + "score": -0.49104881286621094 + }, + "else": { + "operation": "boost", + "score": 0.06167563423514366 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.028294337913393974 + }, + "else": { + "operation": "boost", + "score": 0.10080941021442413 + } + } + }, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.15809029340744019 + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.042906325310468674 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.08168468624353409 + }, + "else": { + "operation": "boost", + "score": 0.13446073234081268 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09540034830570221 + }, + "else": { + "operation": "boost", + "score": 0.01557343453168869 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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.09058801829814911 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.015009785071015358 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05191616714000702 + }, + "else": { + "operation": "boost", + "score": 0.08131527155637741 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.027302730828523636 + }, + "else": { + "operation": "boost", + "score": 0.08718319982290268 + } + }, + "else": { + "operation": "boost", + "score": 0.05640921741724014 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.582693338394165 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.009962927550077438 + }, + "else": { + "operation": "boost", + "score": 0.13257627189159393 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1391405314207077 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.05558975040912628 + }, + "else": { + "operation": "boost", + "score": -0.0551893375813961 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.025445574894547462 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.07041704654693604 + }, + "else": { + "operation": "boost", + "score": -0.060324158519506454 + } + }, + "else": { + "operation": "boost", + "score": 0.042541664093732834 + } + }, + "else": { + "operation": "boost", + "score": 0.17473158240318298 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.09571856260299683 + }, + "else": { + "operation": "boost", + "score": 0.02449469082057476 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124731.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2091844230890274 + }, + "else": { + "operation": "boost", + "score": -0.017455443739891052 + } + }, + "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.11011321097612381 + }, + "else": { + "operation": "boost", + "score": 0.11823178827762604 + } + }, + "else": { + "operation": "boost", + "score": 0.06986989825963974 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09554285556077957 + }, + "else": { + "operation": "boost", + "score": 0.0415646955370903 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "boost", + "score": 0.11120638251304626 + }, + "else": { + "operation": "boost", + "score": 0.03513234853744507 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97357.5, + "then": { + "operation": "boost", + "score": -0.010439061559736729 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1141323372721672 + }, + "else": { + "operation": "boost", + "score": 0.0841190293431282 + } + }, + "else": { + "operation": "boost", + "score": 0.09133387356996536 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.026539329439401627 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": -0.14430730044841766 + }, + "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": 3.5, + "then": { + "operation": "boost", + "score": 0.07062139362096786 + }, + "else": { + "operation": "boost", + "score": 0.099397212266922 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10415993630886078 + }, + "else": { + "operation": "boost", + "score": 0.09783937782049179 + } + }, + "else": { + "operation": "boost", + "score": 0.10728338360786438 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.10132044553756714 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00839912798255682 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102876.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "boost", + "score": -0.022820401936769485 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.17017972469329834 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11055134236812592 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.09451472759246826 + }, + "else": { + "operation": "boost", + "score": 0.09249364584684372 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11061364412307739 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.011191675439476967 + }, + "else": { + "operation": "boost", + "score": 0.2791580557823181 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11547235399484634 + }, + "else": { + "operation": "boost", + "score": 0.11052723228931427 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0854325070977211 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1076696366071701 + }, + "else": { + "operation": "boost", + "score": 0.11693993210792542 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.16233326494693756 + }, + "else": { + "operation": "boost", + "score": 0.06474920362234116 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07744450122117996 + }, + "else": { + "operation": "boost", + "score": 0.16365301609039307 + } + }, + "else": { + "operation": "boost", + "score": -0.1090623065829277 + } + } + }, + "else": { + "operation": "boost", + "score": 3.2243588066194206e-05 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00017606689652893692 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "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": "boost", + "score": 0.023071618750691414 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08307282626628876 + }, + "else": { + "operation": "boost", + "score": 0.10457052290439606 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0499265156686306 + }, + "else": { + "operation": "boost", + "score": 0.11251969635486603 + } + }, + "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", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.025902034714818 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.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.10812276601791382 + }, + "else": { + "operation": "boost", + "score": -0.16013970971107483 + } + }, + "else": { + "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": "boost", + "score": 0.07050253450870514 + }, + "else": { + "operation": "boost", + "score": -0.1778808981180191 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0733206570148468 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.04963859170675278 + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10316360741853714 + } + }, + "else": { + "operation": "boost", + "score": 0.06926745176315308 + } + } + }, + "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.021821951493620872 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0771733969449997 + } + }, + "else": { + "operation": "boost", + "score": 0.0075631896033883095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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.07928811758756638 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03243230655789375 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.008540400303900242 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0844474732875824 + }, + "else": { + "operation": "boost", + "score": 0.0953405573964119 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11631650477647781 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.052135780453681946 + }, + "else": { + "operation": "boost", + "score": -0.0485849492251873 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011517238803207874 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0822228267788887 + }, + "else": { + "operation": "boost", + "score": 0.03697201609611511 + } + }, + "else": { + "operation": "boost", + "score": 0.13029728829860687 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0254131518304348 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132033.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1974525898694992 + }, + "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, + "then": { + "operation": "boost", + "score": -0.01597416400909424 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.34772536158561707 + }, + "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", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.055950261652469635 + }, + "else": { + "operation": "boost", + "score": 0.0793515294790268 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.047039132565259933 + }, + "else": { + "operation": "boost", + "score": 0.09933169931173325 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10666721314191818 + } + } + }, + "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_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "boost", + "score": -0.1354926973581314 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.08840873837471008 + }, + "else": { + "operation": "boost", + "score": 0.11052815616130829 + } + }, + "else": { + "operation": "boost", + "score": 0.25524458289146423 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10842663049697876 + } + }, + "else": { + "operation": "boost", + "score": 0.11087169498205185 + } + } + }, + "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": 18.5, + "then": { + "operation": "boost", + "score": 0.11578691005706787 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10252095013856888 + }, + "else": { + "operation": "boost", + "score": 0.10953982174396515 + } + }, + "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 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120524.0, + "then": { + "operation": "boost", + "score": 0.06536957621574402 + }, + "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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.111614890396595 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10823577642440796 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05712055414915085 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10746610909700394 + }, + "else": { + "operation": "boost", + "score": 0.1139013022184372 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15839283168315887 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0360599122941494 + }, + "else": { + "operation": "boost", + "score": 0.10166560858488083 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0739743560552597 + }, + "else": { + "operation": "boost", + "score": 0.12942194938659668 + } + }, + "else": { + "operation": "boost", + "score": -0.3050177991390228 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07879065722227097 + }, + "else": { + "operation": "boost", + "score": 0.10133486241102219 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108984.0, + "then": { + "operation": "boost", + "score": 0.12578263878822327 + }, + "else": { + "operation": "boost", + "score": 0.00855713989585638 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111169.5, + "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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03768352046608925 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001919929782161489 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06698108464479446 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304083.5, + "then": { + "operation": "boost", + "score": 0.04032390937209129 + }, + "else": { + "operation": "boost", + "score": 0.0729851946234703 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.03410845994949341 + }, + "else": { + "operation": "boost", + "score": 0.09340615570545197 + } + }, + "else": { + "operation": "boost", + "score": -0.02107870578765869 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.07582446932792664 + }, + "else": { + "operation": "boost", + "score": 0.12762762606143951 + } + }, + "else": { + "operation": "boost", + "score": -0.1516074538230896 + } + }, + "else": { + "operation": "boost", + "score": -0.045851726084947586 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016149209812283516 + }, + "else": { + "operation": "boost", + "score": 0.09243420511484146 + } + }, + "else": { + "operation": "boost", + "score": -0.020694226026535034 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.11984476447105408 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.11050190776586533 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "boost", + "score": -0.037761859595775604 + }, + "else": { + "operation": "boost", + "score": 0.27164849638938904 + } + } + } + } + }, + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.01234605722129345 + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.00034795046667568386 + }, + "else": { + "operation": "boost", + "score": 0.08499717712402344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.21886366605758667 + }, + "else": { + "operation": "boost", + "score": 0.0024697347544133663 + } + } + }, + "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_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.011720317415893078 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.022689275443553925 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07415139675140381 + }, + "else": { + "operation": "boost", + "score": -0.20571976900100708 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.038238346576690674 + }, + "else": { + "operation": "boost", + "score": 0.09658236801624298 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10646522790193558 + }, + "else": { + "operation": "boost", + "score": -0.12421629577875137 + } + }, + "else": { + "operation": "boost", + "score": -0.05440904572606087 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10415039211511612 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.06910723447799683 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.12646764516830444 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10013846307992935 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.30528274178504944 + }, + "else": { + "operation": "boost", + "score": 0.031137190759181976 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "boost", + "score": -0.16459882259368896 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10266296565532684 + }, + "else": { + "operation": "boost", + "score": 0.03214498236775398 + } + } + }, + "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.02010464482009411 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20686744153499603 + }, + "else": { + "operation": "boost", + "score": 0.10842964053153992 + } + } + }, + "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.10533653199672699 + }, + "else": { + "operation": "boost", + "score": -0.03242973983287811 + } + }, + "else": { + "operation": "boost", + "score": 0.07830175757408142 + } + }, + "else": { + "operation": "boost", + "score": 0.0035896480549126863 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015222126618027687 + } + } + } + } + }, + "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.11275186389684677 + }, + "else": { + "operation": "boost", + "score": -0.01093584019690752 + } + }, + "else": { + "operation": "boost", + "score": -0.10198633372783661 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06893115490674973 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.022150037810206413 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.03806580230593681 + }, + "else": { + "operation": "boost", + "score": 0.03319430351257324 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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_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": 18.5, + "then": { + "operation": "boost", + "score": -0.33048054575920105 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11419876664876938 + }, + "else": { + "operation": "boost", + "score": 0.06956394761800766 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008848861791193485 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.08880237489938736 + }, + "else": { + "operation": "boost", + "score": 0.05360359326004982 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02564254030585289 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05855213850736618 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.013175886124372482 + }, + "else": { + "operation": "boost", + "score": -0.08548422902822495 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10755718499422073 + }, + "else": { + "operation": "boost", + "score": 0.11454765498638153 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120391.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04575854912400246 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.06559097766876221 + }, + "else": { + "operation": "boost", + "score": 0.11685226112604141 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09680748730897903 + }, + "else": { + "operation": "boost", + "score": 0.10827380418777466 + } + }, + "else": { + "operation": "boost", + "score": 0.09863413125276566 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.10408397018909454 + }, + "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": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.09943505376577377 + }, + "else": { + "operation": "boost", + "score": 0.27361860871315 + } + }, + "else": { + "operation": "boost", + "score": -0.10322688519954681 + } + } + } + } + } + } + } + }, + "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.11244228482246399 + } + }, + "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" + ], + "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, + "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_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.08144965022802353 + }, + "else": { + "operation": "boost", + "score": -0.3796560764312744 + } + }, + "else": { + "operation": "boost", + "score": 0.09922635555267334 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.17642837762832642 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07245854288339615 + }, + "else": { + "operation": "boost", + "score": 0.027275018393993378 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09943965822458267 + }, + "else": { + "operation": "boost", + "score": -0.03230031207203865 + } + }, + "else": { + "operation": "boost", + "score": -0.10952004790306091 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.557343065738678 + }, + "else": { + "operation": "boost", + "score": -0.18628178536891937 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.05548518896102905 + }, + "else": { + "operation": "boost", + "score": -0.002087381901219487 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 284274.5, + "then": { + "operation": "boost", + "score": 0.08896055817604065 + }, + "else": { + "operation": "boost", + "score": 0.11169596016407013 + } + }, + "else": { + "operation": "boost", + "score": 0.05507737770676613 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": -0.0077401334419846535 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08527190238237381 + }, + "else": { + "operation": "boost", + "score": -2.2992401123046875 + } + }, + "else": { + "operation": "boost", + "score": -1.2811139822006226 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98748.5, + "then": { + "operation": "boost", + "score": 0.0728667825460434 + }, + "else": { + "operation": "boost", + "score": 0.10762684792280197 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.059454333037137985 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1139988973736763 + }, + "else": { + "operation": "boost", + "score": 0.17003461718559265 + } + }, + "else": { + "operation": "boost", + "score": -0.10873199254274368 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.002076162723824382 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367822.5, + "then": { + "operation": "boost", + "score": -0.10359515994787216 + }, + "else": { + "operation": "boost", + "score": -0.06009892746806145 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04596574977040291 + }, + "else": { + "operation": "boost", + "score": -0.12592032551765442 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0028710835613310337 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273152.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.029410772025585175 + }, + "else": { + "operation": "boost", + "score": 0.02400263212621212 + } + }, + "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.06700991839170456 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09889169782400131 + }, + "else": { + "operation": "boost", + "score": 0.07793636620044708 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.0966191366314888 + }, + "else": { + "operation": "boost", + "score": 0.03900326415896416 + } + }, + "else": { + "operation": "boost", + "score": 0.0776171162724495 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08937899768352509 + }, + "else": { + "operation": "boost", + "score": 0.03365664184093475 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73944.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85946.5, + "then": { + "operation": "boost", + "score": -0.1066298633813858 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10633813589811325 + }, + "else": { + "operation": "boost", + "score": 0.11468859016895294 + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "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, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.12636202573776245 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.10781939327716827 + }, + "else": { + "operation": "boost", + "score": 0.1327771544456482 + } + }, + "else": { + "operation": "boost", + "score": 0.09307856857776642 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12261437624692917 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00023963172861840576 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "boost", + "score": 0.007412879262119532 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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, + "then": { + "operation": "boost", + "score": 0.04457542672753334 + }, + "else": { + "operation": "boost", + "score": -0.10587750375270844 + } + }, + "else": { + "operation": "boost", + "score": 0.047814078629016876 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0038091104943305254 + }, + "else": { + "operation": "boost", + "score": -0.31336265802383423 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07023370265960693 + }, + "else": { + "operation": "boost", + "score": -0.17469604313373566 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08132489025592804 + }, + "else": { + "operation": "boost", + "score": 0.0026611255016177893 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.0631200522184372 + }, + "else": { + "operation": "boost", + "score": -0.10854234546422958 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.10147890448570251 + }, + "else": { + "operation": "boost", + "score": 0.020644791424274445 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015324831940233707 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.10358753800392151 + }, + "else": { + "operation": "boost", + "score": -0.03322918713092804 + } + }, + "else": { + "operation": "boost", + "score": 0.07460079342126846 + } + }, + "else": { + "operation": "boost", + "score": 0.0012234244495630264 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.09580595791339874 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": -0.1643759310245514 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.13553482294082642 + }, + "else": { + "operation": "boost", + "score": 0.12281619012355804 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05654100701212883 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02243175357580185 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005127743352204561 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06537143141031265 + }, + "else": { + "operation": "boost", + "score": -0.006983952131122351 + } + }, + "else": { + "operation": "boost", + "score": 0.052114568650722504 + } + }, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03521174564957619 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09765131771564484 + }, + "else": { + "operation": "boost", + "score": 0.11575876176357269 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.056463632732629776 + }, + "else": { + "operation": "boost", + "score": -0.2876414656639099 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0687401220202446 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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_EnumTag", + "CCC_Statement", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.09926771372556686 + }, + "else": { + "operation": "boost", + "score": -0.10583926737308502 + } + } + }, + "else": { + "operation": "boost", + "score": 0.006376205012202263 + } + }, + "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": 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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1486417055130005 + }, + "else": { + "operation": "boost", + "score": -0.36681485176086426 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.0809958204627037 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.05170691758394241 + }, + "else": { + "operation": "boost", + "score": 0.10223864018917084 + } + }, + "else": { + "operation": "boost", + "score": 0.03608386591076851 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.020601587370038033 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.04974282532930374 + }, + "else": { + "operation": "boost", + "score": -0.1722027212381363 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "boost", + "score": -0.1636214554309845 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.3581795394420624 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09484340250492096 + }, + "else": { + "operation": "boost", + "score": 0.08342087268829346 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01751961000263691 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.000497274799272418 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.008019337430596352 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05266878381371498 + }, + "else": { + "operation": "boost", + "score": 0.09886393696069717 + } + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.016657110303640366 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.02869616076350212 + }, + "else": { + "operation": "boost", + "score": -0.20193718373775482 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031048119068145752 + }, + "else": { + "operation": "boost", + "score": 0.09912531822919846 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06235072761774063 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.05439639091491699 + }, + "else": { + "operation": "boost", + "score": -0.42327895760536194 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.06936725229024887 + }, + "else": { + "operation": "boost", + "score": 0.09295174479484558 + } + }, + "else": { + "operation": "boost", + "score": 0.10732334107160568 + } + }, + "else": { + "operation": "boost", + "score": 0.03805505484342575 + } + }, + "else": { + "operation": "boost", + "score": 0.03167027607560158 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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.03341138735413551 + }, + "else": { + "operation": "boost", + "score": -0.023957708850502968 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05086924135684967 + }, + "else": { + "operation": "boost", + "score": 0.011675914749503136 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.11574201285839081 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.1198497861623764 + }, + "else": { + "operation": "boost", + "score": -0.11104553192853928 + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.045163098722696304 + }, + "else": { + "operation": "boost", + "score": 0.10845091938972473 + } + }, + "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.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 + } + }, + "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.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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 753.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1166.5, + "then": { + "operation": "boost", + "score": 0.0884421318769455 + }, + "else": { + "operation": "boost", + "score": 0.1909770965576172 + } + }, + "else": { + "operation": "boost", + "score": 0.04902943596243858 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12185364216566086 + }, + "else": { + "operation": "boost", + "score": 0.10849592834711075 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.15399889647960663 + }, + "else": { + "operation": "boost", + "score": 0.33140188455581665 + } + }, + "else": { + "operation": "boost", + "score": -0.1592373102903366 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.1165732741355896 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10676686465740204 + }, + "else": { + "operation": "boost", + "score": 0.10951592773199081 + } + }, + "else": { + "operation": "boost", + "score": 0.07729675620794296 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07054155319929123 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198207.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11481092870235443 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12731993198394775 + }, + "else": { + "operation": "boost", + "score": 0.018679916858673096 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.019952183589339256 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367.5, + "then": { + "operation": "boost", + "score": -0.0009191890130750835 + }, + "else": { + "operation": "boost", + "score": 0.10980372130870819 + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3683.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5784.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7816.5, + "then": { + "operation": "boost", + "score": 0.09216724336147308 + }, + "else": { + "operation": "boost", + "score": 0.13506929576396942 + } + }, + "else": { + "operation": "boost", + "score": -0.4335542619228363 + } + }, + "else": { + "operation": "boost", + "score": 0.12006707489490509 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06482090055942535 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04764670133590698 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.012473304755985737 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "boost", + "score": 0.006087346933782101 + }, + "else": { + "operation": "boost", + "score": 0.12301956862211227 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "boost", + "score": 0.04744459316134453 + }, + "else": { + "operation": "boost", + "score": 0.10531046986579895 + } + }, + "else": { + "operation": "boost", + "score": -0.1377536505460739 + } + }, + "else": { + "operation": "boost", + "score": -0.03821587562561035 + } + }, + "else": { + "operation": "boost", + "score": 0.01106282602995634 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 662.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07436352968215942 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 603.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 632.5, + "then": { + "operation": "boost", + "score": 0.08486836403608322 + }, + "else": { + "operation": "boost", + "score": 0.1155606061220169 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.06833250820636749 + }, + "else": { + "operation": "boost", + "score": 0.08611011505126953 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6216.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7046.5, + "then": { + "operation": "boost", + "score": 0.03899016231298447 + }, + "else": { + "operation": "boost", + "score": 0.11140474677085876 + } + }, + "else": { + "operation": "boost", + "score": 0.006715335883200169 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1626.0, + "then": { + "operation": "boost", + "score": 0.07830654829740524 + }, + "else": { + "operation": "boost", + "score": -0.026784012094140053 + } + }, + "else": { + "operation": "boost", + "score": -0.3674828112125397 + } + }, + "else": { + "operation": "boost", + "score": -0.207050159573555 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.014594556763768196 + }, + "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.0013906335225328803 + }, + "else": { + "operation": "boost", + "score": -0.24596211314201355 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.06095627695322037 + }, + "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": 14.5, + "then": { + "operation": "boost", + "score": -0.006222511641681194 + }, + "else": { + "operation": "boost", + "score": 0.008765305392444134 + } + }, + "else": { + "operation": "boost", + "score": -0.11171532422304153 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.004504112061113119 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.028524067252874374 + }, + "else": { + "operation": "boost", + "score": -0.02287403494119644 + } + }, + "else": { + "operation": "boost", + "score": -0.026440603658556938 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.04742010310292244 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12426771968603134 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1008768305182457 + }, + "else": { + "operation": "boost", + "score": 0.09420743584632874 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10147617757320404 + }, + "else": { + "operation": "boost", + "score": 0.1500035524368286 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.048346146941185 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6067.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.11398438364267349 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09045280516147614 + } + }, + "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.10806403309106827 + }, + "else": { + "operation": "boost", + "score": 0.14015509188175201 + } + }, + "else": { + "operation": "boost", + "score": 0.07280173152685165 + } + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011975427158176899 + }, + "else": { + "operation": "boost", + "score": 0.009462419897317886 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014340856112539768 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0340002067387104 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.007574626710265875 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11486411094665527 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09268898516893387 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.009488672949373722 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.06927589327096939 + }, + "else": { + "operation": "boost", + "score": 0.0980033352971077 + } + }, + "else": { + "operation": "boost", + "score": 0.11586106568574905 + } + }, + "else": { + "operation": "boost", + "score": -0.10768155753612518 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443.5, + "then": { + "operation": "boost", + "score": -0.2963157892227173 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": 0.18280883133411407 + }, + "else": { + "operation": "boost", + "score": -0.5327581763267517 + } + } + }, + "else": { + "operation": "boost", + "score": -3.59407377243042 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0021311454474925995 + } + }, + "else": { + "operation": "boost", + "score": 0.0434696264564991 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.14148148894309998 + }, + "else": { + "operation": "boost", + "score": 0.003416570369154215 + } + }, + "else": { + "operation": "boost", + "score": 0.028443027287721634 + } + }, + "else": { + "operation": "boost", + "score": 0.10582906752824783 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.11935028433799744 + }, + "else": { + "operation": "boost", + "score": -0.5278413891792297 + } + }, + "else": { + "operation": "boost", + "score": -0.04870593920350075 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05190560594201088 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1347762942314148 + }, + "else": { + "operation": "boost", + "score": -0.12086828052997589 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.1501741111278534 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1118089035153389 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.029686544090509415 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0023785503581166267 + }, + "else": { + "operation": "boost", + "score": 0.08709096163511276 + } + }, + "else": { + "operation": "boost", + "score": -0.1343861222267151 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.024661457166075706 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.02747143618762493 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.05257543548941612 + }, + "else": { + "operation": "boost", + "score": 0.11259926110506058 + } + }, + "else": { + "operation": "boost", + "score": -0.15410463511943817 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11116208136081696 + }, + "else": { + "operation": "boost", + "score": 0.06410527229309082 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12931691110134125 + }, + "else": { + "operation": "boost", + "score": -0.1914738565683365 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "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": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11097810417413712 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019554495811462402 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11561426520347595 + }, + "else": { + "operation": "boost", + "score": 0.08589357882738113 + } + } + } + }, + "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.0039832377806305885 + }, + "else": { + "operation": "boost", + "score": -0.036127589643001556 + } + }, + "else": { + "operation": "boost", + "score": 0.016683310270309448 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.02378070168197155 + }, + "else": { + "operation": "boost", + "score": -0.009376926347613335 + } + }, + "else": { + "operation": "boost", + "score": 0.044737331569194794 + } + }, + "else": { + "operation": "boost", + "score": 0.035846464335918427 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07318787276744843 + } + }, + "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": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.031196419149637222 + }, + "else": { + "operation": "boost", + "score": -0.10074391961097717 + } + } + } + } + }, + "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": "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_greater", + "feature": "NumReferences", + "threshold": 1318535.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, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.0285886712372303 + }, + "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, + "then": { + "operation": "boost", + "score": 0.02545093186199665 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07022985070943832 + }, + "else": { + "operation": "boost", + "score": 0.10733727365732193 + } + }, + "else": { + "operation": "boost", + "score": 0.054172199219465256 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.04995604231953621 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09043025970458984 + }, + "else": { + "operation": "boost", + "score": 0.05134968087077141 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0007740713772363961 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.053818121552467346 + }, + "else": { + "operation": "boost", + "score": 0.07611029595136642 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "boost", + "score": -0.27371418476104736 + }, + "else": { + "operation": "boost", + "score": 0.11342987418174744 + } + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08863215148448944 + }, + "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.08145376294851303 + }, + "else": { + "operation": "boost", + "score": -0.1072506234049797 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55854.0, + "then": { + "operation": "boost", + "score": -0.026889972388744354 + }, + "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.1283714324235916 + }, + "else": { + "operation": "boost", + "score": 0.13493794202804565 + } + }, + "else": { + "operation": "boost", + "score": 0.11773865669965744 + } + }, + "else": { + "operation": "boost", + "score": 0.03272785618901253 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129900.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08529986441135406 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11129014194011688 + }, + "else": { + "operation": "boost", + "score": 0.10660428553819656 + } + }, + "else": { + "operation": "boost", + "score": 0.05139783024787903 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015334023162722588 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11556689441204071 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11867446452379227 + }, + "else": { + "operation": "boost", + "score": 0.22686509788036346 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.26503971219062805 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20599.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, + "then": { + "operation": "boost", + "score": -0.34782615303993225 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21122.0, + "then": { + "operation": "boost", + "score": 0.06265407800674438 + }, + "else": { + "operation": "boost", + "score": 0.3147141933441162 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22352.0, + "then": { + "operation": "boost", + "score": 0.1692609041929245 + }, + "else": { + "operation": "boost", + "score": 0.04773988202214241 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11682440340518951 + }, + "else": { + "operation": "boost", + "score": -0.2785722017288208 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020332610234618187 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13845457136631012 + }, + "else": { + "operation": "boost", + "score": -0.026371533051133156 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08200828731060028 + }, + "else": { + "operation": "boost", + "score": 0.1277158409357071 + } + }, + "else": { + "operation": "boost", + "score": -0.05984286591410637 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02375032566487789 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54650.5, + "then": { + "operation": "boost", + "score": -0.11326968669891357 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06118660420179367 + }, + "else": { + "operation": "boost", + "score": 0.14200003445148468 + } + }, + "else": { + "operation": "boost", + "score": -0.03533398360013962 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7342.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.019214823842048645 + }, + "else": { + "operation": "boost", + "score": 0.0157353226095438 + } + }, + "else": { + "operation": "boost", + "score": -0.1459316611289978 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1042.5, + "then": { + "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": "if_greater", + "feature": "NumReferences", + "threshold": 2655.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, + "then": { + "operation": "boost", + "score": 0.10778354853391647 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11632616817951202 + }, + "else": { + "operation": "boost", + "score": 0.10438189655542374 + } + }, + "else": { + "operation": "boost", + "score": -0.018757112324237823 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1403007060289383 + }, + "else": { + "operation": "boost", + "score": 0.1200445219874382 + } + }, + "else": { + "operation": "boost", + "score": 0.050670452415943146 + } + }, + "else": { + "operation": "boost", + "score": 0.1438930779695511 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 622.5, + "then": { + "operation": "boost", + "score": 0.01492375135421753 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08024540543556213 + }, + "else": { + "operation": "boost", + "score": 0.17078080773353577 + } + } + } + } + } + } + } + } + }, + "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": "NumReferences", + "threshold": 31515.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "boost", + "score": 6.303794361883774e-05 + }, + "else": { + "operation": "boost", + "score": 0.0771695002913475 + } + }, + "else": { + "operation": "boost", + "score": -0.025223905220627785 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18618.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.011349465698003769 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.124783456325531 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.05351513251662254 + }, + "else": { + "operation": "boost", + "score": 0.10955294221639633 + } + }, + "else": { + "operation": "boost", + "score": -0.19807444512844086 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01674819551408291 + } + } + }, + "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": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20121.0, + "then": { + "operation": "boost", + "score": -0.11238539963960648 + }, + "else": { + "operation": "boost", + "score": 0.10581403225660324 + } + }, + "else": { + "operation": "boost", + "score": 0.06167995184659958 + } + }, + "else": { + "operation": "boost", + "score": -0.41829758882522583 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "boost", + "score": 0.036570873111486435 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4286.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.11447222530841827 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.15350396931171417 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12712758779525757 + }, + "else": { + "operation": "boost", + "score": 0.11376410722732544 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05364811792969704 + } + } + }, + "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 + } + } + }, + "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, + "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": 19.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11963061988353729 + }, + "else": { + "operation": "boost", + "score": 0.05438902974128723 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": -0.3382936418056488 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10258399695158005 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.027721568942070007 + }, + "else": { + "operation": "boost", + "score": 0.0777616873383522 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.02766493335366249 + }, + "else": { + "operation": "boost", + "score": 0.029193220660090446 + } + } + }, + "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.05091008543968201 + }, + "else": { + "operation": "boost", + "score": 0.10435201227664948 + } + }, + "else": { + "operation": "boost", + "score": 0.01572021096944809 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.0984477624297142 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.004464989062398672 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11377584934234619 + }, + "else": { + "operation": "boost", + "score": 0.11819449812173843 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.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": "boost", + "score": 0.11861953884363174 + }, + "else": { + "operation": "boost", + "score": -0.2215808779001236 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": -0.035816267132759094 + }, + "else": { + "operation": "boost", + "score": 0.08198117464780807 + } + }, + "else": { + "operation": "boost", + "score": -0.11534354090690613 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.02521769516170025 + }, + "else": { + "operation": "boost", + "score": -0.17840133607387543 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10181429237127304 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02151721715927124 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.016795432195067406 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176731.0, + "then": { + "operation": "boost", + "score": -0.13941359519958496 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159753.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 83759.0, + "then": { + "operation": "boost", + "score": 0.05921516567468643 + }, + "else": { + "operation": "boost", + "score": 0.11306881904602051 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "boost", + "score": 0.015988284721970558 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.20483095943927765 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.13759729266166687 + }, + "else": { + "operation": "boost", + "score": 0.021386194974184036 + } + } + } + } + } + }, + "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": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.016078976914286613 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97848.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09612547606229782 + }, + "else": { + "operation": "boost", + "score": 0.11267606914043427 + } + }, + "else": { + "operation": "boost", + "score": -0.12713801860809326 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13669608533382416 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": -0.01756708323955536 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92287.0, + "then": { + "operation": "boost", + "score": 0.10454144328832626 + }, + "else": { + "operation": "boost", + "score": -0.22467952966690063 + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10491801798343658 + }, + "else": { + "operation": "boost", + "score": -0.18369431793689728 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14823462069034576 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.058972105383872986 + } + } + }, + "else": { + "operation": "boost", + "score": -0.002814219333231449 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "then": { + "operation": "boost", + "score": -0.030464962124824524 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13875748217105865 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09361112862825394 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46337.5, + "then": { + "operation": "boost", + "score": 0.11778119951486588 + }, + "else": { + "operation": "boost", + "score": 0.15717613697052002 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05796396732330322 + } + }, + "else": { + "operation": "boost", + "score": 0.004769838880747557 + } + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.054530926048755646 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, + "then": { + "operation": "boost", + "score": 0.0689580962061882 + }, + "else": { + "operation": "boost", + "score": 0.11451026052236557 + } + } + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.07938758283853531 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62267.0, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.027561338618397713 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.039651382714509964 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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, + "then": { + "operation": "boost", + "score": -0.07264932990074158 + }, + "else": { + "operation": "boost", + "score": 0.12555228173732758 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.0, + "then": { + "operation": "boost", + "score": 0.10492793470621109 + }, + "else": { + "operation": "boost", + "score": 0.11538257449865341 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": -0.13238368928432465 + }, + "else": { + "operation": "boost", + "score": 0.11995759606361389 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.33112576603889465 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 322.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 352.0, + "then": { + "operation": "boost", + "score": 0.10421658307313919 + }, + "else": { + "operation": "boost", + "score": 0.1459682136774063 + } + }, + "else": { + "operation": "boost", + "score": 0.004750141408294439 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.5, + "then": { + "operation": "boost", + "score": 0.11782282590866089 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.04392712190747261 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.028097735717892647 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10934647917747498 + }, + "else": { + "operation": "boost", + "score": 0.13602638244628906 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.0, + "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 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0129389688372612 + }, + "else": { + "operation": "boost", + "score": -0.1758083999156952 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.06917469948530197 + }, + "else": { + "operation": "boost", + "score": -0.1089295819401741 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.04679785296320915 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08931031823158264 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.0014649999793618917 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "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_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023847242817282677 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06820105761289597 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02996528334915638 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10312911123037338 + }, + "else": { + "operation": "boost", + "score": 0.11852989345788956 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06416715681552887 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, + "then": { + "operation": "boost", + "score": -0.03712354972958565 + }, + "else": { + "operation": "boost", + "score": 0.057951584458351135 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12930478155612946 + }, + "else": { + "operation": "boost", + "score": -0.10151835530996323 + } + }, + "else": { + "operation": "boost", + "score": -0.01579742133617401 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.06951601058244705 + }, + "else": { + "operation": "boost", + "score": -0.04459190368652344 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0018715420737862587 + } + }, + "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": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010622270405292511 + }, + "else": { + "operation": "boost", + "score": 0.014028435572981834 + } + }, + "else": { + "operation": "boost", + "score": -0.09687083959579468 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020831281319260597 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.055559735745191574 + }, + "else": { + "operation": "boost", + "score": -0.0107547203078866 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.004025951027870178 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1576152741909027 + }, + "else": { + "operation": "boost", + "score": -0.03877124935388565 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008917869068682194 + } + }, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.03160731494426727 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "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 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.8099402785301208 + }, + "else": { + "operation": "boost", + "score": 0.029803456738591194 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02861204370856285 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09921833127737045 + }, + "else": { + "operation": "boost", + "score": -0.10091876983642578 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006161432713270187 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.27026474475860596 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.10094105452299118 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.1864517778158188 + }, + "else": { + "operation": "boost", + "score": 0.18456603586673737 + } + } + }, + "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 + } + } + } + } + }, + "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, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11993.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39401.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.3638910949230194 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.056151747703552246 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11432.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11886.5, + "then": { + "operation": "boost", + "score": 0.13146014511585236 + }, + "else": { + "operation": "boost", + "score": 0.11551470309495926 + } + }, + "else": { + "operation": "boost", + "score": 0.06311623752117157 + } + }, + "else": { + "operation": "boost", + "score": 0.028509125113487244 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4414.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1560.5, + "then": { + "operation": "boost", + "score": 0.02252562902867794 + }, + "else": { + "operation": "boost", + "score": 0.11282970011234283 + } + }, + "else": { + "operation": "boost", + "score": -0.07980533689260483 + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9853.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.08700066804885864 + }, + "else": { + "operation": "boost", + "score": 0.09874609857797623 + } + }, + "else": { + "operation": "boost", + "score": 0.06604088097810745 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.018427763134241104 + }, + "else": { + "operation": "boost", + "score": 0.09856241196393967 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65729.5, + "then": { + "operation": "boost", + "score": 0.094402976334095 + }, + "else": { + "operation": "boost", + "score": 0.05811362713575363 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007849146611988544 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99823.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "then": { + "operation": "boost", + "score": 0.03244506195187569 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179988.0, + "then": { + "operation": "boost", + "score": 0.1071275994181633 + }, + "else": { + "operation": "boost", + "score": -0.09772320836782455 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09804126620292664 + }, + "else": { + "operation": "boost", + "score": 0.10919669270515442 + } + }, + "else": { + "operation": "boost", + "score": 0.004832017235457897 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2820397913455963 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9701.5, + "then": { + "operation": "boost", + "score": 0.12504754960536957 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.08159781247377396 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.06227152794599533 + }, + "else": { + "operation": "boost", + "score": 0.1026548370718956 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2398.5, + "then": { + "operation": "boost", + "score": -0.06401653587818146 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09529082477092743 + }, + "else": { + "operation": "boost", + "score": 0.12461449205875397 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14664696156978607 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1820.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04685923457145691 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0991281270980835 + }, + "else": { + "operation": "boost", + "score": 0.06510794162750244 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10218359529972076 + }, + "else": { + "operation": "boost", + "score": 0.027443384751677513 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10082.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08466093242168427 + }, + "else": { + "operation": "boost", + "score": 0.12405675649642944 + } + }, + "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 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.41964223980903625 + }, + "else": { + "operation": "boost", + "score": 0.11052516847848892 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06032571941614151 + }, + "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, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0059364475309848785 + } + }, + "else": { + "operation": "boost", + "score": -0.059402983635663986 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4053.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23685.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "boost", + "score": -0.006812397390604019 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0021321491803973913 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.045330822467803955 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10768810659646988 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4288.5, + "then": { + "operation": "boost", + "score": 0.07486631721258163 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.05509185418486595 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4847.0, + "then": { + "operation": "boost", + "score": 0.08581790328025818 + }, + "else": { + "operation": "boost", + "score": 0.13053321838378906 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038005657494068146 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13073857128620148 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18885.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20039.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "boost", + "score": 0.0342852808535099 + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004853051621466875 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.03854899853467941 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.10672812163829803 + }, + "else": { + "operation": "boost", + "score": -1.9056731462478638 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01863204874098301 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004298514104448259 + } + }, + { + "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_Symbol", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.014991589821875095 + }, + "else": { + "operation": "boost", + "score": -0.081790491938591 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.8797081708908081 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -2.4447319507598877 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1105552539229393 + }, + "else": { + "operation": "boost", + "score": 0.09047411382198334 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.015922216698527336 + }, + "else": { + "operation": "boost", + "score": -0.008963488042354584 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014581015333533287 + }, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05872528254985809 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.09199193865060806 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.001127553405240178 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "boost", + "score": 0.14868193864822388 + }, + "else": { + "operation": "boost", + "score": 0.08847705274820328 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10795661807060242 + }, + "else": { + "operation": "boost", + "score": 0.036125872284173965 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.12531447410583496 + }, + "else": { + "operation": "boost", + "score": 0.027292311191558838 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13091.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13971.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17656.5, + "then": { + "operation": "boost", + "score": -0.12868614494800568 + }, + "else": { + "operation": "boost", + "score": 0.09161144495010376 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11630174517631531 + }, + "else": { + "operation": "boost", + "score": -1.0995001792907715 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09703124314546585 + }, + "else": { + "operation": "boost", + "score": 0.031656913459300995 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "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", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "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" + ], + "then": { + "operation": "boost", + "score": 0.0039075156673789024 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1658.5, + "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, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1173408031463623 + }, + "else": { + "operation": "boost", + "score": -0.0003948641533497721 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.023288544267416 + }, + "else": { + "operation": "boost", + "score": -0.10262423753738403 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004515393637120724 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17739762365818024 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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.003930103033781052 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006588230840861797 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08922693133354187 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054939769208431244 + }, + "else": { + "operation": "boost", + "score": 0.06300617754459381 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.12151240557432175 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10075349360704422 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08946523815393448 + }, + "else": { + "operation": "boost", + "score": 0.10623537749052048 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08540776371955872 + }, + "else": { + "operation": "boost", + "score": -0.00868547335267067 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1371486634016037 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1184830516576767 + }, + "else": { + "operation": "boost", + "score": 0.07268884778022766 + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14384502172470093 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135.0, + "then": { + "operation": "boost", + "score": 0.10653939843177795 + }, + "else": { + "operation": "boost", + "score": 0.06319122761487961 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03196236863732338 + } + }, + "else": { + "operation": "boost", + "score": -0.08165161311626434 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.15291404724121094 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 381517.0, + "then": { + "operation": "boost", + "score": 0.06759338080883026 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.9725502133369446 + }, + "else": { + "operation": "boost", + "score": 0.06981374323368073 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08591904491186142 + } + }, + "else": { + "operation": "boost", + "score": -0.026728583499789238 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022372515872120857 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.009390813298523426 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 124.0, + "then": { + "operation": "boost", + "score": 0.04463093727827072 + }, + "else": { + "operation": "boost", + "score": -0.2065969705581665 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12031470239162445 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.14363282918930054 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.07592084258794785 + }, + "else": { + "operation": "boost", + "score": 0.15009449422359467 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "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, + "then": { + "operation": "boost", + "score": 0.054883237928152084 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1000380590558052 + }, + "else": { + "operation": "boost", + "score": 0.10895100235939026 + } + } + } + }, + "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 + } + } + }, + "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 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "then": { + "operation": "boost", + "score": 0.009114042855799198 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.060243841260671616 + }, + "else": { + "operation": "boost", + "score": 0.11118073761463165 + } + }, + "else": { + "operation": "boost", + "score": -0.14699651300907135 + } + }, + "else": { + "operation": "boost", + "score": 0.04696270078420639 + } + } + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11289082467556 + }, + "else": { + "operation": "boost", + "score": 0.10334605723619461 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10928414016962051 + }, + "else": { + "operation": "boost", + "score": 0.09315212070941925 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08113232254981995 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.001117095584049821 + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010329578071832657 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.013528301380574703 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11444959789514542 + }, + "else": { + "operation": "boost", + "score": -0.0005002173711545765 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.9943063855171204 + }, + "else": { + "operation": "boost", + "score": 0.10362102091312408 + } + }, + "else": { + "operation": "boost", + "score": 0.08404205739498138 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013608583249151707 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.048776671290397644 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09558641910552979 + }, + "else": { + "operation": "boost", + "score": -0.05747975409030914 + } + }, + "else": { + "operation": "boost", + "score": 0.14674848318099976 + } + } + }, + "else": { + "operation": "boost", + "score": 0.033553846180438995 + } + }, + "else": { + "operation": "boost", + "score": -0.09260909259319305 + } + }, + "else": { + "operation": "boost", + "score": -0.018388288095593452 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.14472591876983643 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.02440938726067543 + }, + "else": { + "operation": "boost", + "score": 0.19441792368888855 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.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 + } + }, + "else": { + "operation": "boost", + "score": -0.40701302886009216 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006571964360773563 + } + }, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.08628635853528976 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1196654662489891 + }, + "else": { + "operation": "boost", + "score": 0.04736228659749031 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.23466305434703827 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13234283030033112 + }, + "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, + "then": { + "operation": "boost", + "score": -0.018853239715099335 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11045290529727936 + }, + "else": { + "operation": "boost", + "score": -1.847869873046875 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.043966200202703476 + }, + "else": { + "operation": "boost", + "score": -0.006695528980344534 + } + }, + "else": { + "operation": "boost", + "score": -0.011241006664931774 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15533725917339325 + }, + "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 + } + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11347857862710953 + }, + "else": { + "operation": "boost", + "score": 0.11706831306219101 + } + }, + "else": { + "operation": "boost", + "score": -0.15716557204723358 + } + }, + "else": { + "operation": "boost", + "score": 0.023532267659902573 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.4296131730079651 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.11604781448841095 + }, + "else": { + "operation": "boost", + "score": 0.10044775903224945 + } + }, + "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 + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.29260239005088806 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1121077910065651 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.371040016412735 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07866676896810532 + }, + "else": { + "operation": "boost", + "score": 0.13241437077522278 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.13858090341091156 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.018786504864692688 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -1.1649128198623657 + }, + "else": { + "operation": "boost", + "score": 0.09518174082040787 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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.057197969406843185 + }, + "else": { + "operation": "boost", + "score": -0.15534400939941406 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11827614903450012 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.12247186154127121 + }, + "else": { + "operation": "boost", + "score": -0.08825135976076126 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.023108772933483124 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0017737190937623382 + } + } + } + } + } + }, + { + "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.0033322854433208704 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03548014163970947 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32511.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35345.0, + "then": { + "operation": "boost", + "score": 0.01313740387558937 + }, + "else": { + "operation": "boost", + "score": -0.14560794830322266 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03456730768084526 + }, + "else": { + "operation": "boost", + "score": 0.1211496964097023 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06532648205757141 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.16554082930088043 + }, + "else": { + "operation": "boost", + "score": 0.1141967847943306 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28296.5, + "then": { + "operation": "boost", + "score": -0.18710613250732422 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28021.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03762020170688629 + }, + "else": { + "operation": "boost", + "score": 0.1952436864376068 + } + }, + "else": { + "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, + "then": { + "operation": "boost", + "score": 0.004642879590392113 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03266701474785805 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11695601046085358 + }, + "else": { + "operation": "boost", + "score": 0.07687413692474365 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015246204100549221 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.009809128008782864 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.04494843631982803 + }, + "else": { + "operation": "boost", + "score": 0.1414354145526886 + } + } + }, + "else": { + "operation": "boost", + "score": -0.020929573103785515 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27164.5, + "then": { + "operation": "boost", + "score": 0.11847181618213654 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24921.5, + "then": { + "operation": "boost", + "score": -0.13357029855251312 + }, + "else": { + "operation": "boost", + "score": 0.15848305821418762 + } + }, + "else": { + "operation": "boost", + "score": -0.06189463287591934 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 675.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 693.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.06318818032741547 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 698.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1043.0, + "then": { + "operation": "boost", + "score": -0.003982373047620058 + }, + "else": { + "operation": "boost", + "score": 0.054643552750349045 + } + }, + "else": { + "operation": "boost", + "score": -1.1345672607421875 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 682.0, + "then": { + "operation": "boost", + "score": 0.12629207968711853 + }, + "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, + "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.005403625778853893 + }, + "else": { + "operation": "boost", + "score": -0.036866992712020874 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11601322144269943 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.05444541946053505 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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 + } + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "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_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 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11674126982688904 + }, + "else": { + "operation": "boost", + "score": -0.2323743999004364 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 35.0, + "then": { + "operation": "boost", + "score": 0.10529207438230515 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02145695686340332 + }, + "else": { + "operation": "boost", + "score": 0.0016108965501189232 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011410071514546871 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.02829042822122574 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 791.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 817.5, + "then": { + "operation": "boost", + "score": 0.03620182350277901 + }, + "else": { + "operation": "boost", + "score": 0.1114245355129242 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.0714387521147728 + }, + "else": { + "operation": "boost", + "score": -0.008113950490951538 + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.37282660603523254 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10559495538473129 + }, + "else": { + "operation": "boost", + "score": 0.08223072439432144 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007061201147735119 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.25071313977241516 + }, + "else": { + "operation": "boost", + "score": 0.11189182847738266 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.005154537968337536 + }, + "else": { + "operation": "boost", + "score": 0.03892342001199722 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.023683946579694748 + }, + "else": { + "operation": "boost", + "score": 0.10362127423286438 + } + }, + "else": { + "operation": "boost", + "score": -0.10020780563354492 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28239.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30221.5, + "then": { + "operation": "boost", + "score": -0.24889522790908813 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29812.0, + "then": { + "operation": "boost", + "score": 0.1439710110425949 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28306.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.06908110529184341 + }, + "else": { + "operation": "boost", + "score": 0.3501228392124176 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1075945720076561 + }, + "else": { + "operation": "boost", + "score": 0.10880634188652039 + } + }, + "else": { + "operation": "boost", + "score": 0.11482174694538116 + } + } + } + } + }, + "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.025288503617048264 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15956.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5364.0, + "then": { + "operation": "boost", + "score": 0.03663763031363487 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.09484559297561646 + }, + "else": { + "operation": "boost", + "score": 0.3156386911869049 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5582.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7358.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.172561913728714 + }, + "else": { + "operation": "boost", + "score": 0.09762375056743622 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7092.5, + "then": { + "operation": "boost", + "score": 0.11694876849651337 + }, + "else": { + "operation": "boost", + "score": 0.10491044074296951 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.14292208850383759 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.23519432544708252 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": -0.10701824724674225 + }, + "else": { + "operation": "boost", + "score": 0.4212114214897156 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6801.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6811.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.039016976952552795 + }, + "else": { + "operation": "boost", + "score": 0.09374688565731049 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11919128149747849 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11019767075777054 + }, + "else": { + "operation": "boost", + "score": -0.549742579460144 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1365334838628769 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004359901417046785 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1677759438753128 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.17238670587539673 + }, + "else": { + "operation": "boost", + "score": -0.10601700842380524 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.05578019842505455 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.003661742899566889 + } + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.007920835167169571 + }, + "else": { + "operation": "boost", + "score": 0.0784917026758194 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.10060897469520569 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2153.0, + "then": { + "operation": "boost", + "score": 0.08100152760744095 + }, + "else": { + "operation": "boost", + "score": 0.10553058981895447 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.029717260971665382 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.00877221766859293 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199261.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.02907327562570572 + }, + "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.11469127237796783 + }, + "else": { + "operation": "boost", + "score": -0.1013728454709053 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7106.0, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 701.5, + "then": { + "operation": "boost", + "score": -0.06486338376998901 + }, + "else": { + "operation": "boost", + "score": 0.14663934707641602 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03775697574019432 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85559.0, + "then": { + "operation": "boost", + "score": -0.1759895384311676 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.057236019521951675 + }, + "else": { + "operation": "boost", + "score": -0.08671709150075912 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2244.0, + "then": { + "operation": "boost", + "score": 0.10621752589941025 + }, + "else": { + "operation": "boost", + "score": -0.0802176371216774 + } + } + } + } + } + } + } + }, + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09090504795312881 + }, + "else": { + "operation": "boost", + "score": -0.20491762459278107 + } + }, + "else": { + "operation": "boost", + "score": -0.2655734419822693 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10894680768251419 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 669.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": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8641.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13861.5, + "then": { + "operation": "boost", + "score": -0.05130641162395477 + }, + "else": { + "operation": "boost", + "score": 0.0878639817237854 + } + }, + "else": { + "operation": "boost", + "score": -0.09299374371767044 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.062421202659606934 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1514.5, + "then": { + "operation": "boost", + "score": 0.0702228769659996 + }, + "else": { + "operation": "boost", + "score": 0.10739479959011078 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16141.5, + "then": { + "operation": "boost", + "score": 0.0669785812497139 + }, + "else": { + "operation": "boost", + "score": -0.11163005232810974 + } + } + }, + "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": 14033.5, + "then": { + "operation": "boost", + "score": 0.10350735485553741 + }, + "else": { + "operation": "boost", + "score": 0.03393780440092087 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1114097610116005 + }, + "else": { + "operation": "boost", + "score": 0.08805052191019058 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.18499121069908142 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10522186011075974 + }, + "else": { + "operation": "boost", + "score": -0.2876666486263275 + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03612912446260452 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.13456758856773376 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.18476170301437378 + }, + "else": { + "operation": "boost", + "score": 0.08151273429393768 + } + } + }, + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009383274242281914 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10575198382139206 + }, + "else": { + "operation": "boost", + "score": 0.11438186466693878 + } + }, + "else": { + "operation": "boost", + "score": -0.109939806163311 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.008047782815992832 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.05974501743912697 + }, + "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, + "then": { + "operation": "boost", + "score": 0.11699740588665009 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "then": { + "operation": "boost", + "score": -0.13775582611560822 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1201130747795105 + }, + "else": { + "operation": "boost", + "score": 0.12192049622535706 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11661338061094284 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "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": 97848.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136489.0, + "then": { + "operation": "boost", + "score": -0.0011407050769776106 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10413507372140884 + }, + "else": { + "operation": "boost", + "score": 0.10955427587032318 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12212656438350677 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "boost", + "score": -0.1387990117073059 + }, + "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, + "then": { + "operation": "boost", + "score": 0.005449093412607908 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.050679806619882584 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77386.0, + "then": { + "operation": "boost", + "score": 0.09597484022378922 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09047471731901169 + }, + "else": { + "operation": "boost", + "score": -0.7689108848571777 + } + }, + "else": { + "operation": "boost", + "score": 0.048020992428064346 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015793919563293457 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06833169609308243 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.2062671184539795 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90096.0, + "then": { + "operation": "boost", + "score": -0.07132478058338165 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.1230863556265831 + }, + "else": { + "operation": "boost", + "score": 0.07216399163007736 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46094.0, + "then": { + "operation": "boost", + "score": -0.06177925318479538 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1048327162861824 + }, + "else": { + "operation": "boost", + "score": 0.03608769178390503 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92429.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": 0.027404122054576874 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0017434987239539623 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55801.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.011539608240127563 + }, + "else": { + "operation": "boost", + "score": -0.1253959983587265 + } + }, + "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.12490510940551758 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10664255172014236 + }, + "else": { + "operation": "boost", + "score": 0.18026429414749146 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11419364809989929 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02597954124212265 + } + } + } + } + } + } + }, + "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", + "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.001786733279004693 + }, + "else": { + "operation": "boost", + "score": -0.07819006592035294 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006166409235447645 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003805599408224225 + } + }, + "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.08297191560268402 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10942943394184113 + }, + "else": { + "operation": "boost", + "score": 0.10403326153755188 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10700356215238571 + }, + "else": { + "operation": "boost", + "score": 0.08900901675224304 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05801903456449509 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00020122250134591013 + } + }, + { + "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": "NumReferences", + "threshold": 47293.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234860.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 768345.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.06416931003332138 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1159689798951149 + }, + "else": { + "operation": "boost", + "score": 0.10765113681554794 + } + }, + "else": { + "operation": "boost", + "score": -0.3496112525463104 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022097457200288773 + } + }, + "else": { + "operation": "boost", + "score": -0.011609654873609543 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.07167714089155197 + }, + "else": { + "operation": "boost", + "score": 0.10615062713623047 + } + }, + "else": { + "operation": "boost", + "score": -0.14855897426605225 + } + }, + "else": { + "operation": "boost", + "score": 0.035806141793727875 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155314.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09729493409395218 + }, + "else": { + "operation": "boost", + "score": -0.08001921325922012 + } + }, + "else": { + "operation": "boost", + "score": 0.1150415912270546 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10800372809171677 + }, + "else": { + "operation": "boost", + "score": -0.05839770659804344 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220112.0, + "then": { + "operation": "boost", + "score": -0.17864102125167847 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05020562559366226 + }, + "else": { + "operation": "boost", + "score": 0.07875872403383255 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "boost", + "score": -0.13501355051994324 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04860876500606537 + }, + "else": { + "operation": "boost", + "score": 0.09352530539035797 + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10278745740652084 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.008115149103105068 + }, + "else": { + "operation": "boost", + "score": -1.058704137802124 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13594461977481842 + }, + "else": { + "operation": "boost", + "score": 0.15563619136810303 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.11084316670894623 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54992.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11789992451667786 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12783654034137726 + }, + "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, + "then": { + "operation": "boost", + "score": -0.07692059129476547 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.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, + "then": { + "operation": "boost", + "score": 0.10095648467540741 + }, + "else": { + "operation": "boost", + "score": 0.11026954650878906 + } + }, + "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 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11185943335294724 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08043629676103592 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75472.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.047335535287857056 + }, + "else": { + "operation": "boost", + "score": 0.007627703715115786 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1534622311592102 + }, + "else": { + "operation": "boost", + "score": 0.11377712339162827 + } + }, + "else": { + "operation": "boost", + "score": 0.06110816076397896 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": 0.024496441707015038 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.031097233295440674 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61550.0, + "then": { + "operation": "boost", + "score": -0.1570228636264801 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61294.0, + "then": { + "operation": "boost", + "score": 0.10837571322917938 + }, + "else": { + "operation": "boost", + "score": -0.14114944636821747 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": -0.009095638990402222 + }, + "else": { + "operation": "boost", + "score": 0.0856160894036293 + } + } + } + } + }, + "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.04261014237999916 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.07211431115865707 + }, + "else": { + "operation": "boost", + "score": 0.09362825751304626 + } + } + }, + "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.06827718764543533 + }, + "else": { + "operation": "boost", + "score": -0.23239728808403015 + } + }, + "else": { + "operation": "boost", + "score": 0.00989427138119936 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24581138789653778 + } + }, + "else": { + "operation": "boost", + "score": 0.006989848800003529 + } + }, + "else": { + "operation": "boost", + "score": -0.017001168802380562 + } + } + }, + "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.07021013647317886 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10773753374814987 + }, + "else": { + "operation": "boost", + "score": 0.10205268859863281 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08319564908742905 + }, + "else": { + "operation": "boost", + "score": 0.08192748576402664 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07011227309703827 + } + }, + "else": { + "operation": "boost", + "score": 0.14367584884166718 + } + } + }, + "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": "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.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": 0.04820775240659714 + }, + "else": { + "operation": "boost", + "score": 0.12814442813396454 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.5, + "then": { + "operation": "boost", + "score": -0.006202103570103645 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6228.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6390.5, + "then": { + "operation": "boost", + "score": 0.015020917169749737 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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, + "then": { + "operation": "boost", + "score": 0.09990213811397552 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, + "then": { + "operation": "boost", + "score": 0.09914732724428177 + }, + "else": { + "operation": "boost", + "score": 0.11509724706411362 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08311206102371216 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.03561101481318474 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07556027173995972 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.10736952722072601 + }, + "else": { + "operation": "boost", + "score": 0.09388155490159988 + } + }, + "else": { + "operation": "boost", + "score": 0.05157311633229256 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": 0.0031870687380433083 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.06026165559887886 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10835456848144531 + }, + "else": { + "operation": "boost", + "score": -0.14471666514873505 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 306389.0, + "then": { + "operation": "boost", + "score": 0.023639436811208725 + }, + "else": { + "operation": "boost", + "score": -0.008568806573748589 + } + } + } + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.11022678017616272 + }, + "else": { + "operation": "boost", + "score": 0.012945237569510937 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09275316447019577 + }, + "else": { + "operation": "boost", + "score": -0.10448667407035828 + } + }, + "else": { + "operation": "boost", + "score": 0.12045781314373016 + } + } + } + }, + "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.13243860006332397 + }, + "else": { + "operation": "boost", + "score": 0.1448666900396347 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59476.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60891.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04067166894674301 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12073612213134766 + }, + "else": { + "operation": "boost", + "score": -0.2767285704612732 + } + }, + "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": 62617.5, + "then": { + "operation": "boost", + "score": 0.02736509218811989 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08808927983045578 + }, + "else": { + "operation": "boost", + "score": 0.12845709919929504 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0899231880903244 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62601.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.1529873013496399 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.26842033863067627 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.25010138750076294 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.0985589474439621 + }, + "else": { + "operation": "boost", + "score": 0.10070633143186569 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12374462932348251 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47029.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11328207701444626 + }, + "else": { + "operation": "boost", + "score": 0.12582536041736603 + } + }, + "else": { + "operation": "boost", + "score": -0.024860838428139687 + } + }, + "else": { + "operation": "boost", + "score": -0.09246071428060532 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0829877108335495 + }, + "else": { + "operation": "boost", + "score": 0.13961061835289001 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "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": 46337.5, + "then": { + "operation": "boost", + "score": 0.28928282856941223 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33937.5, + "then": { + "operation": "boost", + "score": -0.09344615042209625 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1359325796365738 + }, + "else": { + "operation": "boost", + "score": 0.04302031546831131 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41673.5, + "then": { + "operation": "boost", + "score": -0.08340031653642654 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35026.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0064534153789281845 + }, + "else": { + "operation": "boost", + "score": 0.09509319067001343 + } + }, + "else": { + "operation": "boost", + "score": -0.01010142546147108 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1824839860200882 + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03961697593331337 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04914279282093048 + }, + "else": { + "operation": "boost", + "score": 0.10449963063001633 + } + }, + "else": { + "operation": "boost", + "score": 0.10824085772037506 + } + }, + "else": { + "operation": "boost", + "score": 0.09312183409929276 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09956802427768707 + }, + "else": { + "operation": "boost", + "score": 0.06463852524757385 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08979039639234543 + }, + "else": { + "operation": "boost", + "score": 0.13767842948436737 + } + } + }, + "else": { + "operation": "boost", + "score": -0.022191274911165237 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "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, + "then": { + "operation": "boost", + "score": -0.015062574297189713 + }, + "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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.04575926437973976 + }, + "else": { + "operation": "boost", + "score": 0.12378557026386261 + } + }, + "else": { + "operation": "boost", + "score": -0.4571670889854431 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11190827935934067 + }, + "else": { + "operation": "boost", + "score": 0.07189775258302689 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20702750980854034 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015599837526679039 + } + } + } + }, + "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": "NumReferences", + "threshold": 25183.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26697.0, + "then": { + "operation": "boost", + "score": -0.016873052343726158 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11309843510389328 + }, + "else": { + "operation": "boost", + "score": 0.06368878483772278 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03452524170279503 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13322965800762177 + } + }, + "else": { + "operation": "boost", + "score": -0.024643409997224808 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04973924160003662 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17768645286560059 + }, + "else": { + "operation": "boost", + "score": -0.14639322459697723 + } + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.3280150890350342 + }, + "else": { + "operation": "boost", + "score": 0.009577927179634571 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 686.5, + "then": { + "operation": "boost", + "score": 0.12308274209499359 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 676.5, + "then": { + "operation": "boost", + "score": 0.10764293372631073 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 625.0, + "then": { + "operation": "boost", + "score": -0.24385036528110504 + }, + "else": { + "operation": "boost", + "score": 0.14538705348968506 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.044528380036354065 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 668.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 669.5, + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1782352328300476 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8573.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8701.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9853.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24366.0, + "then": { + "operation": "boost", + "score": 0.03257152438163757 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20562.0, + "then": { + "operation": "boost", + "score": 0.14110226929187775 + }, + "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 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.16066515445709229 + }, + "else": { + "operation": "boost", + "score": 0.03076946549117565 + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1860.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2144.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2939.0, + "then": { + "operation": "boost", + "score": 0.02038315124809742 + }, + "else": { + "operation": "boost", + "score": 0.11278467625379562 + } + }, + "else": { + "operation": "boost", + "score": -0.5094999074935913 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1670.0, + "then": { + "operation": "boost", + "score": 0.11591064929962158 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03430425375699997 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13619644939899445 + }, + "else": { + "operation": "boost", + "score": 0.0716789960861206 + } + }, + "else": { + "operation": "boost", + "score": -0.015230324119329453 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02979995496571064 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.09122619777917862 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.5539910197257996 + }, + "else": { + "operation": "boost", + "score": 0.11750074476003647 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2222.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3212.0, + "then": { + "operation": "boost", + "score": -0.06860308349132538 + }, + "else": { + "operation": "boost", + "score": 0.09457860141992569 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3070106506347656 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11003776639699936 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.02755902148783207 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10954123735427856 + }, + "else": { + "operation": "boost", + "score": 0.10307751595973969 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.07300446182489395 + }, + "else": { + "operation": "boost", + "score": 0.10112499445676804 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.18532246351242065 + }, + "else": { + "operation": "boost", + "score": 0.10981633514165878 + } + }, + "else": { + "operation": "boost", + "score": -0.2451622486114502 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 671.5, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09700320661067963 + }, + "else": { + "operation": "boost", + "score": -0.45906323194503784 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 640.0, + "then": { + "operation": "boost", + "score": 0.1119619756937027 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 624.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.31453418731689453 + }, + "else": { + "operation": "boost", + "score": -0.1299481838941574 + } + }, + "else": { + "operation": "boost", + "score": -0.26210248470306396 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11273407936096191 + } + }, + "else": { + "operation": "boost", + "score": -0.04591681435704231 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006647040136158466 + } + } + }, + "else": { + "operation": "boost", + "score": -0.000380202429369092 + } + }, + { + "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": 6801.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6811.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9216.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9283.0, + "then": { + "operation": "boost", + "score": 0.015449251048266888 + }, + "else": { + "operation": "boost", + "score": -0.15221628546714783 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8831.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11564113944768906 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10720705986022949 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0192877184599638 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14491374790668488 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.07694189250469208 + }, + "else": { + "operation": "boost", + "score": 0.11689931899309158 + } + }, + "else": { + "operation": "boost", + "score": -0.12233731895685196 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03505535051226616 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9108.5, + "then": { + "operation": "boost", + "score": 0.09409958869218826 + }, + "else": { + "operation": "boost", + "score": -0.014385971240699291 + } + } + }, + "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.0349457822740078 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.13387103378772736 + }, + "else": { + "operation": "boost", + "score": -0.10160070657730103 + } + } + }, + "else": { + "operation": "boost", + "score": 0.041883695870637894 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0201718807220459 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7768.5, + "then": { + "operation": "boost", + "score": 0.06936172395944595 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7637.0, + "then": { + "operation": "boost", + "score": 0.13970744609832764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7142.0, + "then": { + "operation": "boost", + "score": 0.0005243822815828025 + }, + "else": { + "operation": "boost", + "score": 0.11584465950727463 + } + } + } + } + } + } + }, + "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": "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.004869092721492052 + }, + "else": { + "operation": "boost", + "score": -0.14206762611865997 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": 412896.5, + "then": { + "operation": "boost", + "score": -0.0028495320584625006 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94786.0, + "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": 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" + ], + "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, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5327.5, + "then": { + "operation": "boost", + "score": -0.12447196245193481 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5179.0, + "then": { + "operation": "boost", + "score": 0.09939973056316376 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05318956449627876 + } + }, + "else": { + "operation": "boost", + "score": 0.005304272752255201 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.054194655269384384 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92644.0, + "then": { + "operation": "boost", + "score": -0.10087403655052185 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.051213592290878296 + }, + "else": { + "operation": "boost", + "score": -0.17494291067123413 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11877.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12172.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18715.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29288.0, + "then": { + "operation": "boost", + "score": -0.005966535769402981 + }, + "else": { + "operation": "boost", + "score": 0.03849685192108154 + } + }, + "else": { + "operation": "boost", + "score": -0.05386405438184738 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13588997721672058 + }, + "else": { + "operation": "boost", + "score": -0.6580158472061157 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17478719353675842 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, + "then": { + "operation": "boost", + "score": 0.09731851518154144 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6230.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7289.0, + "then": { + "operation": "boost", + "score": -0.2497967630624771 + }, + "else": { + "operation": "boost", + "score": 0.08472511917352676 + } + }, + "else": { + "operation": "boost", + "score": -0.01977449096739292 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6573.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6689.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11497373133897781 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6962.0, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.13131096959114075 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07165727764368057 + }, + "else": { + "operation": "boost", + "score": 0.18208056688308716 + } + }, + "else": { + "operation": "boost", + "score": 0.12844382226467133 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03461772948503494 + }, + "else": { + "operation": "boost", + "score": 0.09412164241075516 + } + }, + "else": { + "operation": "boost", + "score": -0.13735361397266388 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.1025831550359726 + }, + "else": { + "operation": "boost", + "score": 0.10482612252235413 + } + }, + "else": { + "operation": "boost", + "score": 0.20071423053741455 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11713370680809021 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1038.5, + "then": { + "operation": "boost", + "score": -0.002515910193324089 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6175.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6320.5, + "then": { + "operation": "boost", + "score": -0.14127828180789948 + }, + "else": { + "operation": "boost", + "score": 0.12261313199996948 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1214.5, + "then": { + "operation": "boost", + "score": 0.06868094950914383 + }, + "else": { + "operation": "boost", + "score": -0.17456728219985962 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11477009952068329 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01588408276438713 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012538833543658257 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 736.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.10157932341098785 + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": 0.12091334909200668 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 724.5, + "then": { + "operation": "boost", + "score": 0.11441341042518616 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 644.5, + "then": { + "operation": "boost", + "score": -0.22203025221824646 + }, + "else": { + "operation": "boost", + "score": 0.15996474027633667 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -1.616946816444397 + }, + "else": { + "operation": "boost", + "score": 0.06793468445539474 + } + }, + "else": { + "operation": "boost", + "score": 0.11267869919538498 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10870661586523056 + }, + "else": { + "operation": "boost", + "score": -0.017789658159017563 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.12176864594221115 + }, + "else": { + "operation": "boost", + "score": 0.06137534976005554 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1791878640651703 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.20651602745056152 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 621.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 + } + }, + "else": { + "operation": "boost", + "score": -0.11338197439908981 + } + }, + "else": { + "operation": "boost", + "score": 0.11766814440488815 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0781809538602829 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10806675255298615 + }, + "else": { + "operation": "boost", + "score": 0.024839403107762337 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03481408581137657 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.03633305802941322 + }, + "else": { + "operation": "boost", + "score": 0.0014458831865340471 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005103431176394224 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1286807656288147 + }, + "else": { + "operation": "boost", + "score": -0.25372111797332764 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05107663571834564 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.030353033915162086 + }, + "else": { + "operation": "boost", + "score": 0.0046182963997125626 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.029568428173661232 + }, + "else": { + "operation": "boost", + "score": -0.02367558889091015 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04854663088917732 + }, + "else": { + "operation": "boost", + "score": -0.004139109514653683 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.05384831875562668 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.1002957746386528 + }, + "else": { + "operation": "boost", + "score": 0.12181715667247772 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04713942110538483 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03551483899354935 + }, + "else": { + "operation": "boost", + "score": 0.06011708080768585 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11684750765562057 + }, + "else": { + "operation": "boost", + "score": 0.07640363276004791 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10021568089723587 + }, + "else": { + "operation": "boost", + "score": 0.08900503069162369 + } + }, + "else": { + "operation": "boost", + "score": 0.05031456798315048 + } + } + }, + "else": { + "operation": "boost", + "score": -0.028478914871811867 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007036048918962479 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014539694413542747 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.054933562874794006 + }, + "else": { + "operation": "boost", + "score": -0.0028816775884479284 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.26802223920822144 + }, + "else": { + "operation": "boost", + "score": 0.013656397350132465 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79592.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.13767948746681213 + }, + "else": { + "operation": "boost", + "score": 0.050920601934194565 + } + }, + "else": { + "operation": "boost", + "score": -0.9212311506271362 + } + }, + "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_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11068252474069595 + }, + "else": { + "operation": "boost", + "score": 0.12334626913070679 + } + }, + "else": { + "operation": "boost", + "score": -0.183037668466568 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35884.0, + "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" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9059.5, + "then": { + "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_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 + } + }, + "else": { + "operation": "boost", + "score": -0.055969588458538055 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02235352247953415 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6604.5, + "then": { + "operation": "boost", + "score": 0.10679557174444199 + }, + "else": { + "operation": "boost", + "score": 0.053386855870485306 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13335594534873962 + }, + "else": { + "operation": "boost", + "score": 0.11700396984815598 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010080947540700436 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00309291435405612 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.032006263732910156 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.12371453642845154 + }, + "else": { + "operation": "boost", + "score": 0.0951986163854599 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.018185492604970932 + } + }, + "else": { + "operation": "boost", + "score": -0.01088037434965372 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012776698917150497 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "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_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.031132686883211136 + }, + "else": { + "operation": "boost", + "score": -0.06704463809728622 + } + }, + "else": { + "operation": "boost", + "score": -0.015274394303560257 + } + } + }, + "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": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.02637607976794243 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.023545904085040092 + }, + "else": { + "operation": "boost", + "score": 0.07188250869512558 + } + }, + "else": { + "operation": "boost", + "score": 0.0044966163113713264 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11703946441411972 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.021167922765016556 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.006864702794700861 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.01968182437121868 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03372607007622719 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1589.5, + "then": { + "operation": "boost", + "score": 0.09270669519901276 + }, + "else": { + "operation": "boost", + "score": -0.06814524531364441 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "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, + "then": { + "operation": "boost", + "score": -0.08419520407915115 + }, + "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_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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04022262245416641 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.11996686458587646 + }, + "else": { + "operation": "boost", + "score": 0.09250917285680771 + } + }, + "else": { + "operation": "boost", + "score": 0.004307667259126902 + } + }, + "else": { + "operation": "boost", + "score": 0.017332563176751137 + } + }, + "else": { + "operation": "boost", + "score": 0.00615103030577302 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12207594513893127 + }, + "else": { + "operation": "boost", + "score": -0.061104483902454376 + } + }, + "else": { + "operation": "boost", + "score": -0.02442556619644165 + } + } + } + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10157201439142227 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "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_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.10306549817323685 + }, + "else": { + "operation": "boost", + "score": -0.1317025125026703 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04487801715731621 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.11733539402484894 + }, + "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, + "then": { + "operation": "boost", + "score": 0.18837487697601318 + }, + "else": { + "operation": "boost", + "score": 0.14599362015724182 + } + }, + "else": { + "operation": "boost", + "score": -1.0219820737838745 + } + }, + "else": { + "operation": "boost", + "score": 0.08396419137716293 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005969710182398558 + }, + "else": { + "operation": "boost", + "score": 0.7055105566978455 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06739433854818344 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.31017613410949707 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101.0, + "then": { + "operation": "boost", + "score": 0.09993629157543182 + }, + "else": { + "operation": "boost", + "score": -0.11941829323768616 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.766234815120697 + }, + "else": { + "operation": "boost", + "score": -0.17305274307727814 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.2773592472076416 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04112936928868294 + }, + "else": { + "operation": "boost", + "score": 0.1298350691795349 + } + }, + "else": { + "operation": "boost", + "score": -0.12419094890356064 + } + }, + "else": { + "operation": "boost", + "score": 0.11767274141311646 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.12410926818847656 + }, + "else": { + "operation": "boost", + "score": 0.1097436472773552 + } + } + }, + "else": { + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 1.0083857774734497 + }, + "else": { + "operation": "boost", + "score": 0.10984820872545242 + } + }, + "else": { + "operation": "boost", + "score": -0.10617868602275848 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.11116989701986313 + } + } + } + }, + "else": { + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "boost", + "score": 0.11429138481616974 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.2676362991333008 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10708598047494888 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": -0.16078072786331177 + }, + "else": { + "operation": "boost", + "score": 0.09968177229166031 + } + }, + "else": { + "operation": "boost", + "score": -0.7581793069839478 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12632542848587036 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.361244261264801 + }, + "else": { + "operation": "boost", + "score": 0.0778755396604538 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.06597132235765457 + }, + "else": { + "operation": "boost", + "score": -0.6952729821205139 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.025342293083667755 + }, + "else": { + "operation": "boost", + "score": 0.5886037349700928 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02355121821165085 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014554494991898537 + }, + "else": { + "operation": "boost", + "score": 0.0958867073059082 + } + }, + "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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.12617576122283936 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10466267168521881 + }, + "else": { + "operation": "boost", + "score": 0.04633386805653572 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11847971379756927 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03999245539307594 + }, + "else": { + "operation": "boost", + "score": 0.22436724603176117 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00686732679605484 + } + }, + "else": { + "operation": "boost", + "score": 0.02362929657101631 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04501465708017349 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08350449055433273 + } + }, + "else": { + "operation": "boost", + "score": -0.1240752562880516 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00027668694383464754 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30903.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32026.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.011832544580101967 + }, + "else": { + "operation": "if_greater", + "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_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.08978936821222305 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 266510.0, + "then": { + "operation": "boost", + "score": 0.08775906264781952 + }, + "else": { + "operation": "boost", + "score": 0.004019073210656643 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60891.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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10150158405303955 + }, + "else": { + "operation": "boost", + "score": 0.12720054388046265 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.3022053837776184 + }, + "else": { + "operation": "boost", + "score": 0.1626768857240677 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75477.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.058727871626615524 + }, + "else": { + "operation": "boost", + "score": -0.3099285662174225 + } + }, + "else": { + "operation": "boost", + "score": -0.04923410341143608 + } + }, + "else": { + "operation": "boost", + "score": 0.10910521447658539 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09456217288970947 + }, + "else": { + "operation": "boost", + "score": -0.107223279774189 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64514.0, + "then": { + "operation": "boost", + "score": 0.04192575812339783 + }, + "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, + "then": { + "operation": "boost", + "score": 0.08643604815006256 + }, + "else": { + "operation": "boost", + "score": 0.1019630953669548 + } + }, + "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": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1059882864356041 + }, + "else": { + "operation": "boost", + "score": 0.12165039032697678 + } + }, + "else": { + "operation": "boost", + "score": -0.04356459528207779 + } + }, + "else": { + "operation": "boost", + "score": -0.08698529005050659 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07912946492433548 + }, + "else": { + "operation": "boost", + "score": 0.12991228699684143 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10415030270814896 + }, + "else": { + "operation": "boost", + "score": 0.10960010439157486 + } + }, + "else": { + "operation": "boost", + "score": -0.016631800681352615 + } + }, + "else": { + "operation": "boost", + "score": 0.03270886838436127 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.02460407093167305 + }, + "else": { + "operation": "boost", + "score": 0.10171694308519363 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68345.0, + "then": { + "operation": "boost", + "score": 0.10223647207021713 + }, + "else": { + "operation": "boost", + "score": -0.026768306270241737 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91957.5, + "then": { + "operation": "boost", + "score": 0.0990167036652565 + }, + "else": { + "operation": "boost", + "score": -0.1151222512125969 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "boost", + "score": 0.06654349714517593 + }, + "else": { + "operation": "boost", + "score": 0.09292230755090714 + } + }, + "else": { + "operation": "boost", + "score": -0.0860605239868164 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08598700165748596 + }, + "else": { + "operation": "boost", + "score": -0.18051454424858093 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43360.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 478260.0, + "then": { + "operation": "boost", + "score": 0.08886618167161942 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.02860299125313759 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.052057165652513504 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.4037850797176361 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 432212.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07771176844835281 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 350855.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.06999354064464569 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 258522.5, + "then": { + "operation": "boost", + "score": 0.09043749421834946 + }, + "else": { + "operation": "boost", + "score": 0.02678825333714485 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.034790799021720886 + }, + "else": { + "operation": "boost", + "score": -0.8627147078514099 + } + } + } + } + } + } + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.21132613718509674 + } + }, + "else": { + "operation": "boost", + "score": 0.0635082870721817 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.002136330120265484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11276005208492279 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.21538227796554565 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0438234880566597 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10906127095222473 + }, + "else": { + "operation": "boost", + "score": 0.1017543375492096 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.038978949189186096 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0444534532725811 + }, + "else": { + "operation": "boost", + "score": 0.1033397763967514 + } + }, + "else": { + "operation": "boost", + "score": 0.1073063313961029 + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10559206455945969 + }, + "else": { + "operation": "boost", + "score": 0.10326449573040009 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10156518965959549 + }, + "else": { + "operation": "boost", + "score": -0.022710807621479034 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08822695165872574 + }, + "else": { + "operation": "boost", + "score": -0.015148302540183067 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04404781386256218 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.009648547507822514 + }, + "else": { + "operation": "boost", + "score": 0.13866010308265686 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10252059251070023 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.01743023842573166 + }, + "else": { + "operation": "boost", + "score": -0.05844404920935631 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.19480884075164795 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11625353991985321 + }, + "else": { + "operation": "boost", + "score": 0.09588615596294403 + } + }, + "else": { + "operation": "boost", + "score": -0.22514435648918152 + } + }, + "else": { + "operation": "boost", + "score": -0.10581177473068237 + } + } + } + } + }, + "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_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": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09977942705154419 + }, + "else": { + "operation": "boost", + "score": 0.038805074989795685 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.012723087333142757 + }, + "else": { + "operation": "boost", + "score": -0.1404978334903717 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18639233708381653 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69564.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 100378.5, + "then": { + "operation": "boost", + "score": -0.3536892235279083 + }, + "else": { + "operation": "boost", + "score": 0.11693503707647324 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.0239457618445158 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.12485383450984955 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.833876371383667 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11540215462446213 + }, + "else": { + "operation": "boost", + "score": -0.17681337893009186 + } + }, + "else": { + "operation": "boost", + "score": 0.07899916172027588 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.09852895140647888 + }, + "else": { + "operation": "boost", + "score": 0.1365201473236084 + } + }, + "else": { + "operation": "boost", + "score": 0.10335035622119904 + } + }, + "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_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022474326193332672 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1006549820303917 + }, + "else": { + "operation": "boost", + "score": 0.0980372279882431 + } + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54245.5, + "then": { + "operation": "boost", + "score": 0.08316923677921295 + }, + "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, + "then": { + "operation": "boost", + "score": 0.10791407525539398 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.018834205344319344 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012544531375169754 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.024371281266212463 + }, + "else": { + "operation": "boost", + "score": 0.0772751048207283 + } + }, + "else": { + "operation": "boost", + "score": 0.12095402926206589 + } + }, + "else": { + "operation": "boost", + "score": -0.0061669801361858845 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.033128947019577026 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.004784539807587862 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07715803384780884 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25849.5, + "then": { + "operation": "boost", + "score": 0.03139107674360275 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11428173631429672 + }, + "else": { + "operation": "boost", + "score": 3.071434497833252 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.001094511360861361 + }, + "else": { + "operation": "boost", + "score": -0.009277638979256153 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.05620117485523224 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50011.5, + "then": { + "operation": "boost", + "score": -0.22006671130657196 + }, + "else": { + "operation": "boost", + "score": -0.05067335441708565 + } + }, + "else": { + "operation": "boost", + "score": -0.029824580997228622 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.011716604232788086 + }, + "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.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.009683379903435707 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06482688337564468 + } + }, + "else": { + "operation": "boost", + "score": 0.008908316493034363 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005708100507035851 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.024671243503689766 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.11447112262248993 + }, + "else": { + "operation": "boost", + "score": 0.06738048046827316 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1734.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32511.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35345.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 158335.0, + "then": { + "operation": "boost", + "score": -0.0221986286342144 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99880.5, + "then": { + "operation": "boost", + "score": 0.020663131028413773 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "then": { + "operation": "boost", + "score": -0.034783340990543365 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1332085132598877 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004405690357089043 + }, + "else": { + "operation": "boost", + "score": 0.11501584947109222 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05407561734318733 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1613156497478485 + }, + "else": { + "operation": "boost", + "score": 0.1099172905087471 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00815933384001255 + }, + "else": { + "operation": "boost", + "score": -0.035811569541692734 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04932888597249985 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.11405844241380692 + }, + "else": { + "operation": "boost", + "score": -0.13372203707695007 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 642.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.019539613276720047 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 658.5, + "then": { + "operation": "boost", + "score": -0.08231847733259201 + }, + "else": { + "operation": "boost", + "score": 0.12831845879554749 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 701.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1244.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1508.5, + "then": { + "operation": "boost", + "score": 0.08076819777488708 + }, + "else": { + "operation": "boost", + "score": 0.10877115279436111 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 827.5, + "then": { + "operation": "boost", + "score": -0.4649479389190674 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 746.5, + "then": { + "operation": "boost", + "score": 0.09213130921125412 + }, + "else": { + "operation": "boost", + "score": -0.004903123714029789 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10657217353582382 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 729.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1034.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1636.5, + "then": { + "operation": "boost", + "score": 0.17407138645648956 + }, + "else": { + "operation": "boost", + "score": 0.007937763817608356 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 986.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12446102499961853 + }, + "else": { + "operation": "boost", + "score": 0.11439377814531326 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13079416751861572 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.014312404207885265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.09983332455158234 + }, + "else": { + "operation": "boost", + "score": 0.08945856988430023 + } + }, + "else": { + "operation": "boost", + "score": -0.4627811908721924 + } + }, + "else": { + "operation": "boost", + "score": -0.0013540100771933794 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.025340797379612923 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.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": "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.05206119269132614 + }, + "else": { + "operation": "boost", + "score": -0.3686361014842987 + } + } + }, + "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": 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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.036378178745508194 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "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 + } + }, + "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, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11810385435819626 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 555.0, + "then": { + "operation": "boost", + "score": 0.1116110309958458 + }, + "else": { + "operation": "boost", + "score": -0.18242232501506805 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08906657248735428 + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07938852906227112 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.005592455621808767 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09775351732969284 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005179254338145256 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0948667898774147 + }, + "else": { + "operation": "boost", + "score": 0.061580266803503036 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6801.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6811.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9216.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9283.0, + "then": { + "operation": "boost", + "score": 0.016151901334524155 + }, + "else": { + "operation": "boost", + "score": -0.14360177516937256 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8831.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8976.5, + "then": { + "operation": "boost", + "score": -0.005447659175843 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1147661805152893 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10598823428153992 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020164599642157555 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14239558577537537 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10994499176740646 + }, + "else": { + "operation": "boost", + "score": -0.12114419043064117 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7112.0, + "then": { + "operation": "boost", + "score": 0.042230069637298584 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7103.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.2884635925292969 + }, + "else": { + "operation": "boost", + "score": 0.10820408910512924 + } + }, + "else": { + "operation": "boost", + "score": 0.06722655892372131 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17009666562080383 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.03915080428123474 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7258.0, + "then": { + "operation": "boost", + "score": -0.11519434303045273 + }, + "else": { + "operation": "boost", + "score": 0.1413167417049408 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7787.5, + "then": { + "operation": "boost", + "score": 0.06632725894451141 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12286224961280823 + }, + "else": { + "operation": "boost", + "score": -0.022012030705809593 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10338524729013443 + }, + "else": { + "operation": "boost", + "score": 0.11499091982841492 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.11498504877090454 + }, + "else": { + "operation": "boost", + "score": 0.04883667454123497 + } + }, + "else": { + "operation": "boost", + "score": 0.12908431887626648 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 669.5, + "then": { + "operation": "boost", + "score": 0.011770137585699558 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 668.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15398795902729034 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 642.5, + "then": { + "operation": "boost", + "score": 0.1270817369222641 + }, + "else": { + "operation": "boost", + "score": 0.014833125285804272 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004807749297469854 + } + }, + "else": { + "operation": "boost", + "score": -0.11477259546518326 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": 726.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 412896.5, + "then": { + "operation": "boost", + "score": -0.004053323995321989 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94786.0, + "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": 0.5, + "then": { + "operation": "boost", + "score": 0.04456165060400963 + }, + "else": { + "operation": "boost", + "score": 0.08823724091053009 + } + }, + "else": { + "operation": "boost", + "score": 0.028154924511909485 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10343103110790253 + }, + "else": { + "operation": "boost", + "score": -0.03530111536383629 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7105.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9853.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46727.5, + "then": { + "operation": "boost", + "score": -0.04433026537299156 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10607.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 + } + }, + "else": { + "operation": "boost", + "score": -0.1322161704301834 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26728.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0938982143998146 + }, + "else": { + "operation": "boost", + "score": -0.21538183093070984 + } + }, + "else": { + "operation": "boost", + "score": 0.044924814254045486 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.05645686015486717 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14423.5, + "then": { + "operation": "boost", + "score": 0.10045038163661957 + }, + "else": { + "operation": "boost", + "score": -0.24447815120220184 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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" + ], + "then": { + "operation": "boost", + "score": 0.10218138247728348 + }, + "else": { + "operation": "boost", + "score": -0.16940172016620636 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5327.5, + "then": { + "operation": "boost", + "score": -0.11935343593358994 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5179.0, + "then": { + "operation": "boost", + "score": 0.09786665439605713 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2398.5, + "then": { + "operation": "boost", + "score": -0.058964233845472336 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.08764515817165375 + }, + "else": { + "operation": "boost", + "score": 0.11826152354478836 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05002978444099426 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.06323510408401489 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09995656460523605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92644.0, + "then": { + "operation": "boost", + "score": -0.08290794491767883 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.06491483002901077 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07070992887020111 + }, + "else": { + "operation": "boost", + "score": 0.09182636439800262 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.006168301682919264 + }, + "else": { + "operation": "boost", + "score": 0.09852869063615799 + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12292584031820297 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10977482795715332 + }, + "else": { + "operation": "boost", + "score": 0.2730671763420105 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.061604876071214676 + }, + "else": { + "operation": "boost", + "score": 0.11191492527723312 + } + }, + "else": { + "operation": "boost", + "score": 0.012102560140192509 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.19513271749019623 + }, + "else": { + "operation": "boost", + "score": 0.061578571796417236 + } + }, + "else": { + "operation": "boost", + "score": 0.10999900102615356 + } + }, + "else": { + "operation": "boost", + "score": -0.03434441611170769 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4053.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25627.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25940.5, + "then": { + "operation": "boost", + "score": -0.0050903018563985825 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25377.5, + "then": { + "operation": "boost", + "score": -0.2314554750919342 + }, + "else": { + "operation": "boost", + "score": -0.0468871183693409 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4059.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12724032998085022 + } + }, + "else": { + "operation": "boost", + "score": 0.020234528928995132 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0025341075379401445 + } + }, + "else": { + "operation": "boost", + "score": -0.003850989742204547 + } + }, + "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 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.0, + "then": { + "operation": "boost", + "score": 0.0039693936705589294 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": 0.07106450945138931 + }, + "else": { + "operation": "boost", + "score": 0.14501696825027466 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.0, + "then": { + "operation": "boost", + "score": 0.09641453623771667 + }, + "else": { + "operation": "boost", + "score": 0.15284083783626556 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03579346835613251 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "boost", + "score": -0.06864342093467712 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.1503296047449112 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.0, + "then": { + "operation": "boost", + "score": 0.13255839049816132 + }, + "else": { + "operation": "boost", + "score": -0.10056514292955399 + } + }, + "else": { + "operation": "boost", + "score": -0.10428981482982635 + } + }, + "else": { + "operation": "boost", + "score": -0.025170227512717247 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 562.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1173.5, + "then": { + "operation": "boost", + "score": 0.05132303014397621 + }, + "else": { + "operation": "boost", + "score": 0.10467460751533508 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23672960698604584 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.07932262122631073 + }, + "else": { + "operation": "boost", + "score": 0.11526431888341904 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06023397669196129 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.03223021700978279 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.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, + "then": { + "operation": "boost", + "score": 0.09371332824230194 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05561007931828499 + }, + "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 + } + } + } + } + }, + "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 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0513356477022171 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.0, + "then": { + "operation": "boost", + "score": 0.11966591328382492 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "boost", + "score": 0.06983648985624313 + }, + "else": { + "operation": "boost", + "score": 0.13792657852172852 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1361757218837738 + }, + "else": { + "operation": "boost", + "score": 0.13597750663757324 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.13167700171470642 + }, + "else": { + "operation": "boost", + "score": -0.26862290501594543 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.009973345324397087 + }, + "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, + "then": { + "operation": "boost", + "score": 0.014414318837225437 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009218253195285797 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3200.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3904.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5077.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.13122975826263428 + }, + "else": { + "operation": "boost", + "score": 0.08363328874111176 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 394.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 641.0, + "then": { + "operation": "boost", + "score": 0.09622710198163986 + }, + "else": { + "operation": "boost", + "score": 0.08043945580720901 + } + }, + "else": { + "operation": "boost", + "score": 0.05861922353506088 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 336.0, + "then": { + "operation": "boost", + "score": 0.1178470104932785 + }, + "else": { + "operation": "boost", + "score": 0.04635462164878845 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 293.5, + "then": { + "operation": "boost", + "score": 0.07344729453325272 + }, + "else": { + "operation": "boost", + "score": 0.1124206930398941 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.5182230472564697 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.102523073554039 + }, + "else": { + "operation": "boost", + "score": 0.11661038547754288 + } + } + }, + "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 + } + } + }, + "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", + "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.00979573279619217 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.08540820330381393 + }, + "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": "boost", + "score": 0.02253483608365059 + }, + "else": { + "operation": "boost", + "score": -0.2334706038236618 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "boost", + "score": 0.03909870237112045 + }, + "else": { + "operation": "boost", + "score": -0.0003122956259176135 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0015491258818656206 + } + }, + "else": { + "operation": "boost", + "score": -0.003541351994499564 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.1257537603378296 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.024636968970298767 + }, + "else": { + "operation": "boost", + "score": -0.17009499669075012 + } + }, + "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_TopLevel", + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.045452043414115906 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024607021361589432 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09663080424070358 + }, + "else": { + "operation": "boost", + "score": 0.02479802444577217 + } + }, + "else": { + "operation": "boost", + "score": -0.02006322331726551 + } + } + } + }, + "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, + "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": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.12171698361635208 + }, + "else": { + "operation": "boost", + "score": 0.05652283504605293 + } + }, + "else": { + "operation": "boost", + "score": -0.014444002881646156 + } + }, + "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": 2.5, + "then": { + "operation": "boost", + "score": -0.09983322024345398 + }, + "else": { + "operation": "boost", + "score": 0.08759132027626038 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08363468199968338 + }, + "else": { + "operation": "boost", + "score": 0.12695470452308655 + } + }, + "else": { + "operation": "boost", + "score": 0.09781049191951752 + } + }, + "else": { + "operation": "boost", + "score": 0.03401980921626091 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1250855177640915 + }, + "else": { + "operation": "boost", + "score": 0.013274425640702248 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.006341494154185057 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07958134263753891 + }, + "else": { + "operation": "boost", + "score": 0.22980231046676636 + } + }, + "else": { + "operation": "boost", + "score": -0.14408841729164124 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.06363218277692795 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "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" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05443606153130531 + } + }, + "else": { + "operation": "boost", + "score": 0.016533786430954933 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3680.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.017245633527636528 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1060180589556694 + }, + "else": { + "operation": "boost", + "score": -0.14854860305786133 + } + }, + "else": { + "operation": "boost", + "score": 0.1536688357591629 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 669.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3612.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3618.0, + "then": { + "operation": "boost", + "score": -0.17855292558670044 + }, + "else": { + "operation": "boost", + "score": -0.2298741489648819 + } + }, + "else": { + "operation": "boost", + "score": -0.08444349467754364 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3322.0, + "then": { + "operation": "boost", + "score": 0.08594566583633423 + }, + "else": { + "operation": "boost", + "score": 0.009768971242010593 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 668.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14737264811992645 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.100723497569561 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.14417985081672668 + }, + "else": { + "operation": "boost", + "score": 0.1377749890089035 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0033892658539116383 + }, + "else": { + "operation": "boost", + "score": 0.12461884319782257 + } + }, + "else": { + "operation": "boost", + "score": 0.040912531316280365 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18429.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18474.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": -0.0005649104132317007 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148872.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09742286056280136 + }, + "else": { + "operation": "boost", + "score": 0.22131095826625824 + } + }, + "else": { + "operation": "boost", + "score": -0.16607816517353058 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.24308636784553528 + }, + "else": { + "operation": "boost", + "score": 0.08087538927793503 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1052527204155922 + }, + "else": { + "operation": "boost", + "score": -0.1517670452594757 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20811.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23935.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "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": "boost", + "score": -0.13260020315647125 + }, + "else": { + "operation": "boost", + "score": 0.11639519035816193 + } + }, + "else": { + "operation": "boost", + "score": 0.017670730128884315 + } + }, + "else": { + "operation": "boost", + "score": -0.11075050383806229 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.07812871783971786 + }, + "else": { + "operation": "boost", + "score": 0.024991560727357864 + } + }, + "else": { + "operation": "boost", + "score": -0.05338888615369797 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48455.5, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12606480717658997 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73165.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32974.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43764.5, + "then": { + "operation": "boost", + "score": 0.11342673748731613 + }, + "else": { + "operation": "boost", + "score": -0.8822250366210938 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30820.5, + "then": { + "operation": "boost", + "score": 0.12333077192306519 + }, + "else": { + "operation": "boost", + "score": 0.08439178764820099 + } + } + } + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23281.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026540331542491913 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.3295120894908905 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1042245477437973 + }, + "else": { + "operation": "boost", + "score": -0.19139352440834045 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008449516259133816 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.08442115038633347 + }, + "else": { + "operation": "boost", + "score": 0.10218273103237152 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 694.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 718.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 724.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 788.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 936.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0666583999991417 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1369.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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1256.5, + "then": { + "operation": "boost", + "score": 0.10202077776193619 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.18448449671268463 + }, + "else": { + "operation": "boost", + "score": 0.05939869582653046 + } + }, + "else": { + "operation": "boost", + "score": -0.6491013169288635 + } + } + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3192.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": 17.5, + "then": { + "operation": "boost", + "score": -0.16809910535812378 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07235854864120483 + }, + "else": { + "operation": "boost", + "score": 0.11224465817213058 + } + }, + "else": { + "operation": "boost", + "score": -0.03192984685301781 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1148589476943016 + } + }, + "else": { + "operation": "boost", + "score": 0.0004741361190099269 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.32594358921051025 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08412657678127289 + }, + "else": { + "operation": "boost", + "score": -0.3771739602088928 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 825.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 857.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 986.5, + "then": { + "operation": "boost", + "score": 0.15135586261749268 + }, + "else": { + "operation": "boost", + "score": -0.1494504064321518 + } + }, + "else": { + "operation": "boost", + "score": 0.16846926510334015 + } + }, + "else": { + "operation": "boost", + "score": 0.04567382112145424 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11164785921573639 + }, + "else": { + "operation": "boost", + "score": -0.15312045812606812 + } + }, + "else": { + "operation": "boost", + "score": -0.10187138617038727 + } + }, + "else": { + "operation": "boost", + "score": -0.06247011199593544 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.027133893221616745 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.004561835899949074 + }, + "else": { + "operation": "boost", + "score": -0.08717361092567444 + } + }, + "else": { + "operation": "boost", + "score": -0.010702229104936123 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.00861631240695715 + }, + "else": { + "operation": "boost", + "score": 0.0654992014169693 + } + }, + "else": { + "operation": "boost", + "score": -0.051097746938467026 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1854.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2192.0, + "then": { + "operation": "boost", + "score": 0.04675537720322609 + }, + "else": { + "operation": "boost", + "score": 0.11790302395820618 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10909205675125122 + }, + "else": { + "operation": "boost", + "score": -0.0051793442107737064 + } + }, + "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 + } + } + } + } + } + }, + "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.003013435984030366 + }, + "else": { + "operation": "boost", + "score": -0.036847397685050964 + } + } + }, + "else": { + "operation": "boost", + "score": 0.032460205256938934 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.016983916983008385 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -1.0446230173110962 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.03171803429722786 + }, + "else": { + "operation": "boost", + "score": 0.12118861079216003 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.08074765652418137 + }, + "else": { + "operation": "boost", + "score": -0.275274395942688 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.5, + "then": { + "operation": "boost", + "score": 0.10214284807443619 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.030442185699939728 + }, + "else": { + "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_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.16266386210918427 + }, + "else": { + "operation": "boost", + "score": -0.006716256961226463 + } + }, + "else": { + "operation": "boost", + "score": 0.059318214654922485 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08363352715969086 + }, + "else": { + "operation": "boost", + "score": -0.05778129771351814 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.061328377574682236 + }, + "else": { + "operation": "boost", + "score": 0.1238294169306755 + } + }, + "else": { + "operation": "boost", + "score": 0.10063698887825012 + } + } + } + } + } + } + }, + "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.005916582886129618 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6228.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6390.5, + "then": { + "operation": "boost", + "score": 0.011852193623781204 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.1196354553103447 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09586285799741745 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10956844687461853 + }, + "else": { + "operation": "boost", + "score": 0.10272935032844543 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04067307338118553 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01499416958540678 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004025277681648731 + } + }, + "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.10163340717554092 + }, + "else": { + "operation": "boost", + "score": 0.10063100606203079 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3166.0, + "then": { + "operation": "boost", + "score": -0.5548511743545532 + }, + "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": 2163.5, + "then": { + "operation": "boost", + "score": 0.1318100243806839 + }, + "else": { + "operation": "boost", + "score": 0.19296401739120483 + } + }, + "else": { + "operation": "boost", + "score": 0.12207599729299545 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 175.5, + "then": { + "operation": "boost", + "score": -0.2513517737388611 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.0, + "then": { + "operation": "boost", + "score": 0.08613468706607819 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03011513687670231 + }, + "else": { + "operation": "boost", + "score": 0.0704205185174942 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.0, + "then": { + "operation": "boost", + "score": -0.04013461992144585 + }, + "else": { + "operation": "boost", + "score": 0.09937433153390884 + } + }, + "else": { + "operation": "boost", + "score": 0.012041239999234676 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007484344765543938 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06549414992332458 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1896.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12486381828784943 + }, + "else": { + "operation": "boost", + "score": -0.9712957143783569 + } + }, + "else": { + "operation": "boost", + "score": -0.04108823090791702 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08965470641851425 + }, + "else": { + "operation": "boost", + "score": 0.005447221454232931 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.136294886469841 + }, + "else": { + "operation": "boost", + "score": 1.6059589385986328 + } + }, + "else": { + "operation": "boost", + "score": 0.11988049745559692 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1864.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2663.0, + "then": { + "operation": "boost", + "score": 0.07036082446575165 + }, + "else": { + "operation": "boost", + "score": 0.11990167945623398 + } + }, + "else": { + "operation": "boost", + "score": -0.1168045923113823 + } + }, + "else": { + "operation": "boost", + "score": -1.7130190134048462 + } + }, + "else": { + "operation": "boost", + "score": -0.5155287384986877 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.06798110902309418 + }, + "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": 28.5, + "then": { + "operation": "boost", + "score": 0.09172490984201431 + }, + "else": { + "operation": "boost", + "score": -0.12165475636720657 + } + }, + "else": { + "operation": "boost", + "score": 0.14648914337158203 + } + }, + "else": { + "operation": "boost", + "score": 0.10692773759365082 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018089042976498604 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.9915549755096436 + }, + "else": { + "operation": "boost", + "score": -0.11717112362384796 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.05889385938644409 + }, + "else": { + "operation": "boost", + "score": 0.06630974262952805 + } + }, + "else": { + "operation": "boost", + "score": -0.066327303647995 + } + }, + "else": { + "operation": "boost", + "score": 0.10934604704380035 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3680.5, + "then": { + "operation": "boost", + "score": 0.0198780857026577 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.103279247879982 + }, + "else": { + "operation": "boost", + "score": -0.12548044323921204 + } + }, + "else": { + "operation": "boost", + "score": 0.15608012676239014 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013229534029960632 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20811.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23935.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93746.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97095.5, + "then": { + "operation": "boost", + "score": -0.0495062917470932 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.07459323108196259 + }, + "else": { + "operation": "boost", + "score": 0.038130227476358414 + } + } + }, + "else": { + "operation": "boost", + "score": -0.7012007832527161 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.025808440521359444 + }, + "else": { + "operation": "boost", + "score": -0.10944060981273651 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06028907373547554 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148872.5, + "then": { + "operation": "boost", + "score": 0.10681731253862381 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114340.0, + "then": { + "operation": "boost", + "score": -0.09259973466396332 + }, + "else": { + "operation": "boost", + "score": 0.11412706226110458 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05100160837173462 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59248.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14952075481414795 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09913288801908493 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04051687568426132 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08874339610338211 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10387513041496277 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10533898323774338 + }, + "else": { + "operation": "boost", + "score": -0.0579870343208313 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28247.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29484.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33508.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44693.0, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08666875958442688 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.26202642917633057 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27163.5, + "then": { + "operation": "boost", + "score": 0.1463826298713684 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "boost", + "score": 0.1298854649066925 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23281.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.2067287713289261 + }, + "else": { + "operation": "boost", + "score": -0.14529798924922943 + } + }, + "else": { + "operation": "boost", + "score": 0.019311361014842987 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.2241523712873459 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03954344987869263 + }, + "else": { + "operation": "boost", + "score": 0.10836241394281387 + } + }, + "else": { + "operation": "boost", + "score": -0.03258277475833893 + } + }, + "else": { + "operation": "boost", + "score": -0.11079250276088715 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.006440675351768732 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.24832789599895477 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18301.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "then": { + "operation": "boost", + "score": -0.03220631927251816 + }, + "else": { + "operation": "boost", + "score": 0.06011706963181496 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16175.5, + "then": { + "operation": "boost", + "score": -0.6107710003852844 + }, + "else": { + "operation": "boost", + "score": -0.12395860999822617 + } + } + } + }, + "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 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10628204792737961 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13290.0, + "then": { + "operation": "boost", + "score": -0.1089615598320961 + }, + "else": { + "operation": "boost", + "score": 0.25520646572113037 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12997.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13067.5, + "then": { + "operation": "boost", + "score": 0.2084449678659439 + }, + "else": { + "operation": "boost", + "score": 0.150756374001503 + } + }, + "else": { + "operation": "boost", + "score": 0.06031319126486778 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1096.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": "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, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03514041751623154 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 936.0, + "then": { + "operation": "boost", + "score": -0.927029013633728 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 865.0, + "then": { + "operation": "boost", + "score": 0.18073232471942902 + }, + "else": { + "operation": "boost", + "score": 0.011384655721485615 + } + } + }, + "else": { + "operation": "boost", + "score": -0.4773922562599182 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 692.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10373418778181076 + }, + "else": { + "operation": "boost", + "score": 0.11090265214443207 + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04526318982243538 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14158.5, + "then": { + "operation": "boost", + "score": -3.073795795440674 + }, + "else": { + "operation": "boost", + "score": -0.44779670238494873 + } + } + } + } + }, + "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 + } + }, + "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.1560443788766861 + }, + "else": { + "operation": "boost", + "score": -0.02449868991971016 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0865425392985344 + }, + "else": { + "operation": "boost", + "score": 0.13564810156822205 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5280.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 + } + }, + "else": { + "operation": "boost", + "score": 0.17893707752227783 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3748.5, + "then": { + "operation": "boost", + "score": -0.07630624622106552 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3229.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3251.5, + "then": { + "operation": "boost", + "score": 0.1068536788225174 + }, + "else": { + "operation": "boost", + "score": 0.10604828596115112 + } + }, + "else": { + "operation": "boost", + "score": 0.01217624545097351 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 395.0, + "then": { + "operation": "boost", + "score": 0.025921856984496117 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 341.0, + "then": { + "operation": "boost", + "score": 0.12543486058712006 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.12958233058452606 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 206.5, + "then": { + "operation": "boost", + "score": 0.15789787471294403 + }, + "else": { + "operation": "boost", + "score": 0.07772255688905716 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11191094666719437 + } + }, + "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.020395981147885323 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16362.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18783.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32342.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85788.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": 0.010881743393838406 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93017.5, + "then": { + "operation": "boost", + "score": 0.10323575884103775 + }, + "else": { + "operation": "boost", + "score": -0.23721595108509064 + } + }, + "else": { + "operation": "boost", + "score": 0.08364401012659073 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10013700276613235 + }, + "else": { + "operation": "boost", + "score": 0.051214177161455154 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24475.0, + "then": { + "operation": "boost", + "score": -0.06583692878484726 + }, + "else": { + "operation": "boost", + "score": -1.8424793481826782 + } + }, + "else": { + "operation": "boost", + "score": 0.00995137169957161 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31239.0, + "then": { + "operation": "boost", + "score": 0.11216498166322708 + }, + "else": { + "operation": "boost", + "score": -0.16166046261787415 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22914.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31879.0, + "then": { + "operation": "boost", + "score": -0.068461112678051 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29601.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10059594362974167 + }, + "else": { + "operation": "boost", + "score": 0.06017223373055458 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26223.5, + "then": { + "operation": "boost", + "score": -0.1366811841726303 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09743717312812805 + }, + "else": { + "operation": "boost", + "score": -0.2946058213710785 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19203.5, + "then": { + "operation": "boost", + "score": 0.11515689641237259 + }, + "else": { + "operation": "boost", + "score": 0.06837921589612961 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.018750259652733803 + } + }, + "else": { + "operation": "boost", + "score": -0.11307986080646515 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12576.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13627.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1667841672897339 + }, + "else": { + "operation": "boost", + "score": -0.10711019486188889 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13507.5, + "then": { + "operation": "boost", + "score": 0.11525177210569382 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13196.0, + "then": { + "operation": "boost", + "score": -0.10505417734384537 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.2866542339324951 + }, + "else": { + "operation": "boost", + "score": 0.18999314308166504 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.7577286958694458 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.06352725625038147 + }, + "else": { + "operation": "boost", + "score": 0.11959019303321838 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08588755875825882 + }, + "else": { + "operation": "boost", + "score": -0.08263920247554779 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09949774295091629 + }, + "else": { + "operation": "boost", + "score": -0.6578595638275146 + } + }, + "else": { + "operation": "boost", + "score": -0.03795617073774338 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6228.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6388.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6390.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9948.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1043044701218605 + }, + "else": { + "operation": "boost", + "score": -0.38217851519584656 + } + }, + "else": { + "operation": "boost", + "score": 0.014435955323278904 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11674533784389496 + }, + "else": { + "operation": "boost", + "score": 0.11279892921447754 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09765000641345978 + }, + "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 + }, + "else": { + "operation": "boost", + "score": -0.10178980976343155 + } + }, + "else": { + "operation": "boost", + "score": 0.11302167922258377 + } + }, + "else": { + "operation": "boost", + "score": -0.007562633138149977 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0032909014262259007 + } + } + } + } + } + } + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03681964427232742 + }, + "else": { + "operation": "boost", + "score": -0.10644606500864029 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025252072140574455 + }, + "else": { + "operation": "boost", + "score": -0.0032339561730623245 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.007767750881612301 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.018921593204140663 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.16124245524406433 + }, + "else": { + "operation": "boost", + "score": 0.09082137793302536 + } + }, + "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.5, + "then": { + "operation": "boost", + "score": 0.004862459842115641 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.05403446778655052 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11325487494468689 + }, + "else": { + "operation": "boost", + "score": 0.03288651630282402 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.0, + "then": { + "operation": "boost", + "score": -0.3754352331161499 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.11995244026184082 + }, + "else": { + "operation": "boost", + "score": 0.06681715697050095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.0, + "then": { + "operation": "boost", + "score": -0.08501052111387253 + }, + "else": { + "operation": "boost", + "score": 0.09117846190929413 + } + }, + "else": { + "operation": "boost", + "score": -0.41361141204833984 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.055388450622558594 + }, + "else": { + "operation": "boost", + "score": 0.027150364592671394 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10599002242088318 + } + }, + "else": { + "operation": "boost", + "score": 0.026475854218006134 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005273914430290461 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0043076686561107635 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.004318078048527241 + }, + "else": { + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01825655624270439 + }, + "else": { + "operation": "boost", + "score": 0.009376530535519123 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007138236425817013 + }, + "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": "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017728552222251892 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.008132505230605602 + }, + "else": { + "operation": "boost", + "score": 0.11948536336421967 + } + }, + "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": 6.5, + "then": { + "operation": "boost", + "score": 0.028873277828097343 + }, + "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.11474396288394928 + }, + "else": { + "operation": "boost", + "score": -0.08754376322031021 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53939.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09167485684156418 + }, + "else": { + "operation": "boost", + "score": 0.11242745071649551 + } + }, + "else": { + "operation": "boost", + "score": 0.03968406468629837 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0015744608826935291 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "boost", + "score": -0.3554709553718567 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.5, + "then": { + "operation": "boost", + "score": 0.10956859588623047 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.3205747902393341 + }, + "else": { + "operation": "boost", + "score": -0.05479123443365097 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1669626384973526 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.022549526765942574 + }, + "else": { + "operation": "boost", + "score": 0.11447156965732574 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1488846093416214 + }, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.015102327801287174 + }, + "else": { + "operation": "boost", + "score": 0.04544816538691521 + } + }, + "else": { + "operation": "boost", + "score": -0.10457019507884979 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09090350568294525 + }, + "else": { + "operation": "boost", + "score": -0.030471710488200188 + } + }, + "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.04099752753973007 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.10786452144384384 + }, + "else": { + "operation": "boost", + "score": 0.134621262550354 + } + } + } + } + } + } + }, + "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": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.05681560933589935 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.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 + } + }, + "else": { + "operation": "boost", + "score": 0.01755480095744133 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0028035594150424004 + }, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50006.5, + "then": { + "operation": "boost", + "score": 0.040905579924583435 + }, + "else": { + "operation": "boost", + "score": -0.05599326267838478 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.003987181931734085 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13304877281188965 + }, + "else": { + "operation": "boost", + "score": 0.13785263895988464 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013894816860556602 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.13636058568954468 + }, + "else": { + "operation": "boost", + "score": 0.01905507594347 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.13010656833648682 + }, + "else": { + "operation": "boost", + "score": 0.06918656826019287 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.04403750225901604 + }, + "else": { + "operation": "boost", + "score": -0.07774446904659271 + } + } + }, + "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.18119505047798157 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0023857185151427984 + }, + "else": { + "operation": "boost", + "score": 0.05148214474320412 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.08203922212123871 + }, + "else": { + "operation": "boost", + "score": 0.10784747451543808 + } + }, + "else": { + "operation": "boost", + "score": -0.2592635750770569 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1527729630470276 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10174042731523514 + }, + "else": { + "operation": "boost", + "score": 0.06624046713113785 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.03670505806803703 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.005546958185732365 + }, + "else": { + "operation": "boost", + "score": -0.023792073130607605 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020131848752498627 + }, + "else": { + "operation": "boost", + "score": -0.08342909812927246 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004822640214115381 + } + }, + "else": { + "operation": "boost", + "score": 0.05753950774669647 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.11756367236375809 + }, + "else": { + "operation": "boost", + "score": 0.026317941024899483 + } + }, + "else": { + "operation": "boost", + "score": -0.20850428938865662 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.09144560247659683 + }, + "else": { + "operation": "boost", + "score": -0.2822485566139221 + } + }, + "else": { + "operation": "boost", + "score": 0.0913442000746727 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.07167288661003113 + }, + "else": { + "operation": "boost", + "score": 0.4309422969818115 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.045624494552612305 + }, + "else": { + "operation": "boost", + "score": -0.197071373462677 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.040408097207546234 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11719834804534912 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0580151230096817 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0011840666411444545 + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.0007359985029324889 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 454.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.0, + "then": { + "operation": "boost", + "score": -0.012911477126181126 + }, + "else": { + "operation": "boost", + "score": -0.3634599447250366 + } + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 312.5, + "then": { + "operation": "boost", + "score": 0.01694772019982338 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10442473739385605 + }, + "else": { + "operation": "boost", + "score": -0.13934458792209625 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 449.0, + "then": { + "operation": "boost", + "score": 0.10915607959032059 + }, + "else": { + "operation": "boost", + "score": 0.10045631229877472 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.0, + "then": { + "operation": "boost", + "score": 0.11014876514673233 + }, + "else": { + "operation": "boost", + "score": -0.9019745588302612 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1517147570848465 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0292245764285326 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95.5, + "then": { + "operation": "boost", + "score": 0.10867756605148315 + }, + "else": { + "operation": "boost", + "score": 0.14542369544506073 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 207.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 322.5, + "then": { + "operation": "boost", + "score": 0.054559383541345596 + }, + "else": { + "operation": "boost", + "score": 0.13070008158683777 + } + }, + "else": { + "operation": "boost", + "score": 0.02145080268383026 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 306.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14205.0, + "then": { + "operation": "boost", + "score": -0.04546534642577171 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 888.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1073.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10457.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11721695214509964 + }, + "else": { + "operation": "boost", + "score": -0.2473779320716858 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.022071024402976036 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0268248338252306 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12512654066085815 + }, + "else": { + "operation": "boost", + "score": -0.05354425683617592 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.5368549227714539 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1051.0, + "then": { + "operation": "boost", + "score": 0.11052221804857254 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 990.5, + "then": { + "operation": "boost", + "score": -0.022142887115478516 + }, + "else": { + "operation": "boost", + "score": 0.10850337892770767 + } + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.017355604097247124 + }, + "else": { + "operation": "boost", + "score": -0.05430563911795616 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2919.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6305.0, + "then": { + "operation": "boost", + "score": -0.14014719426631927 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.03860975429415703 + }, + "else": { + "operation": "boost", + "score": 0.12553341686725616 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0353664793074131 + } + }, + "else": { + "operation": "boost", + "score": -0.005882533732801676 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.028064481914043427 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.5, + "then": { + "operation": "boost", + "score": 0.02379334159195423 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10630558431148529 + }, + "else": { + "operation": "boost", + "score": -0.23707479238510132 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0665341317653656 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00915766041725874 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.01200128998607397 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0011909283930435777 + }, + "else": { + "operation": "boost", + "score": 0.028184588998556137 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.17078490555286407 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13120783865451813 + }, + "else": { + "operation": "boost", + "score": -0.400514155626297 + } + } + }, + "else": { + "operation": "boost", + "score": 0.039823032915592194 + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11203450709581375 + }, + "else": { + "operation": "boost", + "score": 0.09596232324838638 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.034905631095170975 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.0038011556025594473 + }, + "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": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17552487552165985 + }, + "else": { + "operation": "boost", + "score": 0.11463261395692825 + } + }, + "else": { + "operation": "boost", + "score": -0.2607153058052063 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.12604063749313354 + }, + "else": { + "operation": "boost", + "score": -0.04680994525551796 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0399506576359272 + }, + "else": { + "operation": "boost", + "score": 0.008408155292272568 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25208.5, + "then": { + "operation": "boost", + "score": 0.08152884989976883 + }, + "else": { + "operation": "boost", + "score": -0.057117853313684464 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10038064420223236 + }, + "else": { + "operation": "boost", + "score": -0.19891458749771118 + } + } + }, + "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 + } + } + } + } + }, + "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": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.03237501159310341 + }, + "else": { + "operation": "boost", + "score": 0.11169400811195374 + } + }, + "else": { + "operation": "boost", + "score": -0.005384335294365883 + } + }, + "else": { + "operation": "boost", + "score": -0.15459777414798737 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.03631032630801201 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 294.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006908026058226824 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05428547412157059 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.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": 11.0, + "then": { + "operation": "boost", + "score": 0.09482176601886749 + }, + "else": { + "operation": "boost", + "score": -0.11494418978691101 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12194640934467316 + }, + "else": { + "operation": "boost", + "score": 0.11932885646820068 + } + } + }, + "else": { + "operation": "boost", + "score": -1.336710810661316 + } + }, + "else": { + "operation": "boost", + "score": 0.06978698074817657 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005282811354845762 + } + }, + "else": { + "operation": "boost", + "score": -0.061826441437006 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013004678301513195 + } + } + } + }, + { + "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.032735321670770645 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3680.5, + "then": { + "operation": "boost", + "score": 0.019765404984354973 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10049723833799362 + }, + "else": { + "operation": "boost", + "score": -0.10588604211807251 + } + }, + "else": { + "operation": "boost", + "score": 0.14181771874427795 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 669.5, + "then": { + "operation": "boost", + "score": 0.009839175269007683 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 668.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13961225748062134 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.10063879936933517 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + }, + "else": { + "operation": "boost", + "score": 0.12080990523099899 + } + }, + "else": { + "operation": "boost", + "score": 0.035189997404813766 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11209.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23281.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23935.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, + "then": { + "operation": "boost", + "score": 0.0034722578711807728 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "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": "boost", + "score": -0.11253836005926132 + }, + "else": { + "operation": "boost", + "score": 0.11104664951562881 + } + }, + "else": { + "operation": "boost", + "score": 0.02984258159995079 + } + }, + "else": { + "operation": "boost", + "score": -0.09110484272241592 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03575976938009262 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23667.0, + "then": { + "operation": "boost", + "score": 0.09400486946105957 + }, + "else": { + "operation": "boost", + "score": 0.16251327097415924 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.15769121050834656 + }, + "else": { + "operation": "boost", + "score": 0.11194365471601486 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05191852152347565 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11710.5, + "then": { + "operation": "boost", + "score": 0.007176835555583239 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11358554661273956 + }, + "else": { + "operation": "boost", + "score": 0.08554623275995255 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11590.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.11666606366634369 + }, + "else": { + "operation": "boost", + "score": 0.14203843474388123 + } + }, + "else": { + "operation": "boost", + "score": 0.056719712913036346 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1033.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7457.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7635.5, + "then": { + "operation": "boost", + "score": -0.2991219162940979 + }, + "else": { + "operation": "boost", + "score": 0.21536576747894287 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.004949595313519239 + }, + "else": { + "operation": "boost", + "score": -1.2340960502624512 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6752.0, + "then": { + "operation": "boost", + "score": -0.35807397961616516 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6646.5, + "then": { + "operation": "boost", + "score": 0.09323041886091232 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1301.0, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1217.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1264.5, + "then": { + "operation": "boost", + "score": 0.11030407249927521 + }, + "else": { + "operation": "boost", + "score": 0.1497173309326172 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.5694319009780884 + }, + "else": { + "operation": "boost", + "score": 0.10502000898122787 + } + }, + "else": { + "operation": "boost", + "score": -0.19030076265335083 + } + }, + "else": { + "operation": "boost", + "score": 0.10798860341310501 + } + }, + "else": { + "operation": "boost", + "score": -0.48863551020622253 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07395773380994797 + }, + "else": { + "operation": "boost", + "score": -0.07304679602384567 + } + }, + "else": { + "operation": "boost", + "score": -0.0042096832767128944 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 988.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1018.0, + "then": { + "operation": "boost", + "score": 0.10153291374444962 + }, + "else": { + "operation": "boost", + "score": 0.09798578172922134 + } + }, + "else": { + "operation": "boost", + "score": 0.38394638895988464 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1019.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.23550017178058624 + }, + "else": { + "operation": "boost", + "score": -0.14123861491680145 + } + }, + "else": { + "operation": "boost", + "score": -0.08769088983535767 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.13343007862567902 + }, + "else": { + "operation": "boost", + "score": 0.04102079197764397 + } + } + } + }, + "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": 852.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 986.5, + "then": { + "operation": "boost", + "score": 0.14390528202056885 + }, + "else": { + "operation": "boost", + "score": -0.1297009438276291 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.11879140883684158 + }, + "else": { + "operation": "boost", + "score": 0.24722811579704285 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.173204243183136 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 677.0, + "then": { + "operation": "boost", + "score": -0.018478762358427048 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.10436457395553589 + }, + "else": { + "operation": "boost", + "score": 0.16459742188453674 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 722.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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004448383115231991 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12778615951538086 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 603.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.20435470342636108 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 607.5, + "then": { + "operation": "boost", + "score": 0.00967901200056076 + }, + "else": { + "operation": "boost", + "score": 0.12743590772151947 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.04464512690901756 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "boost", + "score": 0.12447942793369293 + }, + "else": { + "operation": "boost", + "score": 0.09511373937129974 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04366188496351242 + } + }, + "else": { + "operation": "boost", + "score": 0.058608271181583405 + } + }, + "else": { + "operation": "boost", + "score": 0.026818126440048218 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.09294214844703674 + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0775032714009285 + } + }, + "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 + } + } + } + }, + "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 + } + } + }, + { + "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": "FileProximityDistance", + "threshold": 18.5, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01120732631534338 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04579995572566986 + }, + "else": { + "operation": "boost", + "score": 0.07898426055908203 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08398978412151337 + }, + "else": { + "operation": "boost", + "score": -0.10652104020118713 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50014.5, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.002311385702341795 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.010478499345481396 + }, + "else": { + "operation": "boost", + "score": 0.058702778071165085 + } + }, + "else": { + "operation": "boost", + "score": -0.06329900771379471 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12466563284397125 + }, + "else": { + "operation": "boost", + "score": -0.11604779213666916 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.1170535460114479 + }, + "else": { + "operation": "boost", + "score": -0.1479329913854599 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.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": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.10975566506385803 + }, + "else": { + "operation": "boost", + "score": 0.10582250356674194 + } + }, + "else": { + "operation": "boost", + "score": -0.3586748540401459 + } + }, + "else": { + "operation": "boost", + "score": 0.10392735153436661 + } + }, + "else": { + "operation": "boost", + "score": 0.008556907996535301 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.12379805743694305 + }, + "else": { + "operation": "boost", + "score": 0.12275121361017227 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1571698635816574 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.13767316937446594 + }, + "else": { + "operation": "boost", + "score": 0.10820633918046951 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.048034120351076126 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09230946749448776 + }, + "else": { + "operation": "boost", + "score": 0.1270482838153839 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1408109813928604 + } + } + } + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10922128707170486 + }, + "else": { + "operation": "boost", + "score": 0.10795003920793533 + } + }, + "else": { + "operation": "boost", + "score": 0.007200805004686117 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03686525672674179 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.22614330053329468 + }, + "else": { + "operation": "boost", + "score": 0.10359130799770355 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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, + "then": { + "operation": "boost", + "score": 0.11406875401735306 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09880708158016205 + }, + "else": { + "operation": "boost", + "score": -0.010836321860551834 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.47299954295158386 + }, + "else": { + "operation": "boost", + "score": 0.1090107336640358 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.0, + "then": { + "operation": "boost", + "score": -0.4048099219799042 + }, + "else": { + "operation": "boost", + "score": 0.10348466038703918 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09465466439723969 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.02448510006070137 + }, + "else": { + "operation": "boost", + "score": 0.1131458580493927 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": -0.010926793329417706 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "boost", + "score": -0.5174797177314758 + }, + "else": { + "operation": "boost", + "score": 0.1080506220459938 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "boost", + "score": 0.10825716704130173 + }, + "else": { + "operation": "boost", + "score": -0.1308128386735916 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01440613716840744 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0037055425345897675 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], + "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" + ], + "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_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.010555636137723923 + }, + "else": { + "operation": "boost", + "score": -0.1223730593919754 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015916768461465836 + }, + "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 + }, + "else": { + "operation": "boost", + "score": -0.19948500394821167 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07238084822893143 + } + } + }, + "else": { + "operation": "boost", + "score": -0.021016405895352364 + } + } + }, + "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_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05253803730010986 + }, + "else": { + "operation": "boost", + "score": 0.021755484864115715 + } + }, + "else": { + "operation": "boost", + "score": -0.02208254486322403 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00033371365861967206 + } + }, + { + "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": 16.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.11127688735723495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.0, + "then": { + "operation": "boost", + "score": 0.0791424810886383 + }, + "else": { + "operation": "boost", + "score": -0.781765878200531 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": -0.17477770149707794 + }, + "else": { + "operation": "boost", + "score": -1.21224844455719 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07968103140592575 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -3.134386639125353e-10 + }, + "else": { + "operation": "boost", + "score": -1.7093864679336548 + } + }, + "else": { + "operation": "boost", + "score": 0.018489886075258255 + } + }, + "else": { + "operation": "boost", + "score": 0.0059053716249763966 + } + }, + "else": { + "operation": "boost", + "score": 0.0002785278484225273 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.12484917789697647 + }, + "else": { + "operation": "boost", + "score": 0.25032591819763184 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 122.0, + "then": { + "operation": "boost", + "score": 0.060733575373888016 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10992545634508133 + }, + "else": { + "operation": "boost", + "score": 0.04724763706326485 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50014.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04027818888425827 + }, + "else": { + "operation": "boost", + "score": -0.1181899681687355 + } + }, + "else": { + "operation": "boost", + "score": -0.03872475028038025 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0069594429805874825 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.08318815380334854 + }, + "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": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 428.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 507.0, + "then": { + "operation": "boost", + "score": 0.01960666850209236 + }, + "else": { + "operation": "boost", + "score": 0.10710330307483673 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.01663948781788349 + }, + "else": { + "operation": "boost", + "score": -0.17087896168231964 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "boost", + "score": 0.09972000867128372 + }, + "else": { + "operation": "boost", + "score": -0.10416103154420853 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12101730704307556 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.09576001763343811 + }, + "else": { + "operation": "boost", + "score": 0.07565262168645859 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0166948065161705 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 130.0, + "then": { + "operation": "boost", + "score": -0.38782477378845215 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10075686872005463 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.17604118585586548 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1907404214143753 + }, + "else": { + "operation": "boost", + "score": 0.0 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.17384402453899384 + }, + "else": { + "operation": "boost", + "score": 0.01607975736260414 + } + }, + "else": { + "operation": "boost", + "score": -0.15469174087047577 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 587.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 626.5, + "then": { + "operation": "boost", + "score": 0.011120053008198738 + }, + "else": { + "operation": "boost", + "score": 0.1377854198217392 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.2839280068874359 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 127.0, + "then": { + "operation": "boost", + "score": -0.22015678882598877 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.006031915545463562 + }, + "else": { + "operation": "boost", + "score": -0.47430768609046936 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.007335854694247246 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12667429447174072 + }, + "else": { + "operation": "boost", + "score": 0.1100916787981987 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08896935731172562 + }, + "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, + "then": { + "operation": "boost", + "score": 0.06828311085700989 + }, + "else": { + "operation": "boost", + "score": 0.11400177329778671 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01902136392891407 + } + }, + "else": { + "operation": "boost", + "score": -0.025823520496487617 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.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": 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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 326.0, + "then": { + "operation": "boost", + "score": 0.04773429408669472 + }, + "else": { + "operation": "boost", + "score": 0.10608077794313431 + } + }, + "else": { + "operation": "boost", + "score": 0.021747644990682602 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.03295334428548813 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "boost", + "score": -0.004280051216483116 + }, + "else": { + "operation": "boost", + "score": 0.09855435788631439 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.1095246896147728 + }, + "else": { + "operation": "boost", + "score": -0.12543614208698273 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.02225201018154621 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10322007536888123 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11085508018732071 + }, + "else": { + "operation": "boost", + "score": -0.18414342403411865 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017822163179516792 + }, + "else": { + "operation": "boost", + "score": -0.043833229690790176 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.018354440107941628 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07544081658124924 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "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.09606261551380157 + }, + "else": { + "operation": "boost", + "score": -0.10343620926141739 + } + }, + "else": { + "operation": "boost", + "score": 0.10613203793764114 + } + }, + "else": { + "operation": "boost", + "score": -0.05237412080168724 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06930816173553467 + }, + "else": { + "operation": "boost", + "score": 0.08756508678197861 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17566320300102234 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + }, + "else": { + "operation": "boost", + "score": -0.00794210284948349 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0064579881727695465 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00995994359254837 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07071896642446518 + }, + "else": { + "operation": "boost", + "score": -0.0323905274271965 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026346281170845032 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50004.5, + "then": { + "operation": "boost", + "score": 0.013079412281513214 + }, + "else": { + "operation": "boost", + "score": -0.06668208539485931 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003376977110747248 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44315.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.005973345600068569 + }, + "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_SymbolOrNewName", + "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": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 234850.0, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05873122811317444 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.03258492052555084 + }, + "else": { + "operation": "boost", + "score": 0.08800531178712845 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.030318573117256165 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09789004921913147 + } + }, + "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.033546824008226395 + }, + "else": { + "operation": "boost", + "score": 0.0799306109547615 + } + }, + "else": { + "operation": "boost", + "score": 0.06901370733976364 + } + }, + "else": { + "operation": "boost", + "score": 0.0014812644803896546 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.028367137536406517 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10437647253274918 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01592053659260273 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.006804339587688446 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93746.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94712.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1016547903418541 + }, + "else": { + "operation": "boost", + "score": 0.10199940949678421 + } + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "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.30000001192092896, + "then": { + "operation": "boost", + "score": -0.6953859329223633 + }, + "else": { + "operation": "boost", + "score": 0.10708348453044891 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.09506335854530334 + }, + "else": { + "operation": "boost", + "score": 0.0030161128379404545 + } + }, + "else": { + "operation": "boost", + "score": -0.032308533787727356 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.18433304131031036 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04468638077378273 + }, + "else": { + "operation": "boost", + "score": 0.11210747063159943 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.010648233816027641 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55483.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "boost", + "score": -0.22130896151065826 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.0984584391117096 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.14352387189865112 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13195833563804626 + }, + "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.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07532260566949844 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05814061313867569 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119809.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.036030057817697525 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "boost", + "score": 0.006176121532917023 + }, + "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": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.047413986176252365 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.2752821147441864 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1077503114938736 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.117226243019104 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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.004203202202916145 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90948.5, + "then": { + "operation": "boost", + "score": -0.028155077248811722 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0467037595808506 + }, + "else": { + "operation": "boost", + "score": -0.017450250685214996 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47293.0, + "then": { + "operation": "boost", + "score": -0.013338961638510227 + }, + "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": 1.5, + "then": { + "operation": "boost", + "score": 0.021057723090052605 + }, + "else": { + "operation": "boost", + "score": 0.07398330420255661 + } + }, + "else": { + "operation": "boost", + "score": 0.05428487807512283 + } + }, + "else": { + "operation": "boost", + "score": 0.0077718691900372505 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.04544611647725105 + } + }, + "else": { + "operation": "boost", + "score": -0.007426267955452204 + } + } + } + } + }, + "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.07042332738637924 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10611965507268906 + }, + "else": { + "operation": "boost", + "score": 0.10050775855779648 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.08027081936597824 + }, + "else": { + "operation": "boost", + "score": 0.08123404532670975 + } + } + }, + "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", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 296854.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.022128891199827194 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "boost", + "score": 0.10605964064598083 + }, + "else": { + "operation": "boost", + "score": 0.08410247415304184 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1668.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 642.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03154050186276436 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1301.0, + "then": { + "operation": "boost", + "score": -0.12616470456123352 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1264.5, + "then": { + "operation": "boost", + "score": 0.11107601970434189 + }, + "else": { + "operation": "boost", + "score": 0.05479944869875908 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.25179430842399597 + }, + "else": { + "operation": "boost", + "score": 0.06054277345538139 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.11411750316619873 + }, + "else": { + "operation": "boost", + "score": -0.12603595852851868 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.1112842783331871 + }, + "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 + } + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.017206650227308273 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1659.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.11197657138109207 + }, + "else": { + "operation": "boost", + "score": 0.12455601990222931 + } + }, + "else": { + "operation": "boost", + "score": -0.006955779157578945 + } + } + } + } + }, + "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": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": 38.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 995.5, + "then": { + "operation": "boost", + "score": 0.08168153464794159 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.024865152314305305 + }, + "else": { + "operation": "boost", + "score": -0.14536306262016296 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.0913558378815651 + }, + "else": { + "operation": "boost", + "score": 0.11435640603303909 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "boost", + "score": -0.185228168964386 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "boost", + "score": 0.0929427370429039 + }, + "else": { + "operation": "boost", + "score": 0.058767352253198624 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2114117592573166 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.0664798691868782 + }, + "else": { + "operation": "boost", + "score": 0.11820321530103683 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.2293136864900589 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13381004333496094 + }, + "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, + "then": { + "operation": "boost", + "score": 0.015344287268817425 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 368.0, + "then": { + "operation": "boost", + "score": 0.11865547299385071 + }, + "else": { + "operation": "boost", + "score": 0.07948372513055801 + } + }, + "else": { + "operation": "boost", + "score": 0.0020022913813591003 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10805944353342056 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 160.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 232.0, + "then": { + "operation": "boost", + "score": 0.06979232281446457 + }, + "else": { + "operation": "boost", + "score": 0.10364844650030136 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.050014883279800415 + }, + "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, + "then": { + "operation": "boost", + "score": 0.10371971130371094 + }, + "else": { + "operation": "boost", + "score": -0.09902939945459366 + } + }, + "else": { + "operation": "boost", + "score": -0.19002042710781097 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03198401257395744 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.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.05768250301480293 + }, + "else": { + "operation": "boost", + "score": -0.3937952220439911 + } + }, + "else": { + "operation": "boost", + "score": -0.0006529513048008084 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 324.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 536.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005964975338429213 + }, + "else": { + "operation": "boost", + "score": -0.3705853521823883 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10841712355613708 + }, + "else": { + "operation": "boost", + "score": -0.015072833746671677 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17232917249202728 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198.5, + "then": { + "operation": "boost", + "score": 0.12131361663341522 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09865228831768036 + }, + "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 + } + } + } + } + } + }, + "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 + } + } + } + }, + "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, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.15687242150306702 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12066560983657837 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019068244844675064 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06737226992845535 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10013313591480255 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07753340154886246 + }, + "else": { + "operation": "boost", + "score": 0.11968141794204712 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021567607298493385 + }, + "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.008243770338594913 + }, + "else": { + "operation": "boost", + "score": -0.06424612551927567 + } + }, + "else": { + "operation": "boost", + "score": -0.013162883929908276 + } + }, + "else": { + "operation": "boost", + "score": 9.697616042103618e-05 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 290.0, + "then": { + "operation": "boost", + "score": 0.037606723606586456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { + "operation": "boost", + "score": 0.14026546478271484 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "boost", + "score": 0.10859659314155579 + }, + "else": { + "operation": "boost", + "score": 0.1594131886959076 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.1579819619655609 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.011804413050413132 + }, + "else": { + "operation": "boost", + "score": -0.21294990181922913 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.01930684596300125 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.027114728465676308 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.12016516178846359 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.0, + "then": { + "operation": "boost", + "score": 0.042467594146728516 + }, + "else": { + "operation": "boost", + "score": 0.12071976810693741 + } + }, + "else": { + "operation": "boost", + "score": -0.2882717549800873 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10273460298776627 + }, + "else": { + "operation": "boost", + "score": 0.13925224542617798 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11293622851371765 + } + }, + "else": { + "operation": "boost", + "score": -0.024531124159693718 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0027056189719587564 + } + }, + "else": { + "operation": "boost", + "score": -0.03157329931855202 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.0, + "then": { + "operation": "boost", + "score": 0.13460686802864075 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1832871437072754 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.010153789073228836 + }, + "else": { + "operation": "boost", + "score": 0.13816730678081512 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06542010605335236 + } + }, + "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": 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, + "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 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.11376860737800598 + }, + "else": { + "operation": "boost", + "score": 0.10391499847173691 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02613675780594349 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "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": 4.0, + "then": { + "operation": "boost", + "score": 0.036865655332803726 + }, + "else": { + "operation": "boost", + "score": 0.11537698656320572 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.03189490735530853 + }, + "else": { + "operation": "boost", + "score": 0.10780590027570724 + } + }, + "else": { + "operation": "boost", + "score": 0.09984737634658813 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.02251380868256092 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.021348435431718826 + }, + "else": { + "operation": "boost", + "score": 0.11980538815259933 + } + }, + "else": { + "operation": "boost", + "score": 0.045470230281353 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03360635042190552 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.00724770687520504 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02277580089867115 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.048349667340517044 + }, + "else": { + "operation": "boost", + "score": -0.16869604587554932 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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, + "then": { + "operation": "boost", + "score": 0.03572186082601547 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02143869921565056 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.00422327546402812 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09487650543451309 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1446908414363861 + }, + "else": { + "operation": "boost", + "score": 0.08515714854001999 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.021510697901248932 + }, + "else": { + "operation": "boost", + "score": 0.11654321849346161 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.13121922314167023 + }, + "else": { + "operation": "boost", + "score": -0.016982700675725937 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.019296104088425636 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.11217045783996582 + } + }, + "else": { + "operation": "boost", + "score": 0.02583002671599388 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04130672290921211 + } + }, + "else": { + "operation": "boost", + "score": 0.0200638584792614 + } + }, + "else": { + "operation": "boost", + "score": -0.04333992674946785 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015376543626189232 + } + }, + "else": { + "operation": "boost", + "score": 0.03327753394842148 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0017437062924727798 + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12902456521987915 + }, + "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, + "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, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24900.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007874312810599804 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.09734019637107849 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53939.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10729003697633743 + }, + "else": { + "operation": "boost", + "score": 0.08186046034097672 + } + }, + "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 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.05499408021569252 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1619.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62405.5, + "then": { + "operation": "boost", + "score": -0.006993614602833986 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61294.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12464788556098938 + }, + "else": { + "operation": "boost", + "score": 0.11701934784650803 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51628.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55801.5, + "then": { + "operation": "boost", + "score": 0.021507255733013153 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.08206793665885925 + }, + "else": { + "operation": "boost", + "score": 0.1141013577580452 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14379.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28296.5, + "then": { + "operation": "boost", + "score": -0.020682791247963905 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27164.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11462537199258804 + }, + "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" + ], + "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 + } + }, + "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 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9338.0, + "then": { + "operation": "boost", + "score": 0.11337941884994507 + }, + "else": { + "operation": "boost", + "score": 0.0011704611824825406 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.003294851165264845 + }, + "else": { + "operation": "boost", + "score": -0.03526529669761658 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06720548868179321 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.25944969058036804 + }, + "else": { + "operation": "boost", + "score": 0.10795148462057114 + } + }, + "else": { + "operation": "boost", + "score": 0.2163550704717636 + } + }, + "else": { + "operation": "boost", + "score": -0.003532242961227894 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016576683148741722 + } + }, + "else": { + "operation": "boost", + "score": -0.009370558895170689 + } + }, + "else": { + "operation": "boost", + "score": -0.005406077951192856 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.01788261905312538 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09617321938276291 + }, + "else": { + "operation": "boost", + "score": -0.06264955550432205 + } + }, + "else": { + "operation": "boost", + "score": 0.10112828761339188 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.35287994146347046 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.20252086222171783 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.10744833201169968 + }, + "else": { + "operation": "boost", + "score": 0.1019037663936615 + } + }, + "else": { + "operation": "boost", + "score": 0.12407305836677551 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.003910969942808151 + }, + "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_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": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11133971810340881 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.004063819535076618 + }, + "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, + "then": { + "operation": "boost", + "score": -0.0008824332617223263 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12695710361003876 + }, + "else": { + "operation": "boost", + "score": 0.05173788219690323 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.01238811295479536 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.33147671818733215 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0808902308344841 + }, + "else": { + "operation": "boost", + "score": 0.11988384276628494 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10037532448768616 + }, + "else": { + "operation": "boost", + "score": 0.019410917535424232 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.10494735836982727 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1983291506767273 + }, + "else": { + "operation": "boost", + "score": 0.15189124643802643 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1976.0, + "then": { + "operation": "boost", + "score": -0.06220504269003868 + }, + "else": { + "operation": "boost", + "score": 0.10652260482311249 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12406162917613983 + }, + "else": { + "operation": "boost", + "score": -0.4377036988735199 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.5, + "then": { + "operation": "boost", + "score": 0.03285100683569908 + }, + "else": { + "operation": "boost", + "score": 0.2670583128929138 + } + }, + "else": { + "operation": "boost", + "score": 0.15372006595134735 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11860382556915283 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.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, + "then": { + "operation": "boost", + "score": 0.11769170314073563 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.0, + "then": { + "operation": "boost", + "score": -0.03356940299272537 + }, + "else": { + "operation": "boost", + "score": 0.12117047607898712 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0018363979179412127 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.028735633939504623 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07819666713476181 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.08883380144834518 + }, + "else": { + "operation": "boost", + "score": 0.0391242690384388 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.050650354474782944 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.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, + "then": { + "operation": "boost", + "score": -0.1253037005662918 + }, + "else": { + "operation": "boost", + "score": 0.0901051014661789 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.014450392685830593 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.11886502802371979 + }, + "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 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.0, + "then": { + "operation": "boost", + "score": 0.10601330548524857 + }, + "else": { + "operation": "boost", + "score": 0.103244848549366 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3000.0, + "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.10242440551519394 + }, + "else": { + "operation": "boost", + "score": 0.09955597668886185 + } + }, + "else": { + "operation": "boost", + "score": -0.12910890579223633 + } + }, + "else": { + "operation": "boost", + "score": 0.10228011012077332 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 218.5, + "then": { + "operation": "boost", + "score": -0.01753952167928219 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.02344602718949318 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "boost", + "score": 0.11193869262933731 + }, + "else": { + "operation": "boost", + "score": 0.08429889380931854 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12564443051815033 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.0, + "then": { + "operation": "boost", + "score": 0.05108318850398064 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.5, + "then": { + "operation": "boost", + "score": 0.0983913317322731 + }, + "else": { + "operation": "boost", + "score": 0.16330938041210175 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0299706868827343 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.10898103564977646 + }, + "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, + "then": { + "operation": "boost", + "score": -0.10360851883888245 + }, + "else": { + "operation": "boost", + "score": 0.13849414885044098 + } + }, + "else": { + "operation": "boost", + "score": -0.24607813358306885 + } + }, + "else": { + "operation": "boost", + "score": 0.030580569058656693 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0018798249075189233 + }, + "else": { + "operation": "boost", + "score": -0.05119206756353378 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010336642153561115 + }, + "else": { + "operation": "boost", + "score": 0.23924487829208374 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027864767238497734 + } + } + }, + "else": { + "operation": "boost", + "score": -0.014688284136354923 + } + }, + "else": { + "operation": "boost", + "score": -0.0806913822889328 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010479837656021118 + }, + "else": { + "operation": "boost", + "score": 0.0026005012914538383 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0003231024311389774 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18585.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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": "NumReferences", + "threshold": 25461.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20414.0, + "then": { + "operation": "boost", + "score": 0.12031609565019608 + }, + "else": { + "operation": "boost", + "score": -0.13115103542804718 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": 0.07893627136945724 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.12232354283332825 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21097.0, + "then": { + "operation": "boost", + "score": 0.041475988924503326 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19762.5, + "then": { + "operation": "boost", + "score": 0.12856082618236542 + }, + "else": { + "operation": "boost", + "score": -0.09980767220258713 + } + } + }, + "else": { + "operation": "boost", + "score": -0.20666298270225525 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59076.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 129900.0, + "then": { + "operation": "boost", + "score": 0.10473891347646713 + }, + "else": { + "operation": "boost", + "score": 0.10682777315378189 + } + }, + "else": { + "operation": "boost", + "score": 0.0765816792845726 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.24521230161190033 + }, + "else": { + "operation": "boost", + "score": 0.1025964766740799 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0426207073032856 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19023.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20597.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212623.0, + "then": { + "operation": "boost", + "score": 0.0033544818870723248 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22052.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.12557284533977509 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.5133255124092102 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.10251931101083755 + }, + "else": { + "operation": "boost", + "score": -0.10414578020572662 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": 0.08964748680591583 + }, + "else": { + "operation": "boost", + "score": -0.11827795207500458 + } + }, + "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, + "then": { + "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": "NumReferences", + "threshold": 28136.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "boost", + "score": -0.009404839016497135 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67668.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71954.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82787.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.02958444319665432 + }, + "else": { + "operation": "boost", + "score": 0.05876605957746506 + } + }, + "else": { + "operation": "boost", + "score": -0.04193791002035141 + } + }, + "else": { + "operation": "boost", + "score": 0.08959317207336426 + } + }, + "else": { + "operation": "boost", + "score": 0.026020372286438942 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25503.0, + "then": { + "operation": "boost", + "score": 0.10075937211513519 + }, + "else": { + "operation": "boost", + "score": -0.45086026191711426 + } + } + }, + "else": { + "operation": "boost", + "score": -0.039282362908124924 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24712.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93518.5, + "then": { + "operation": "boost", + "score": -0.4694424867630005 + }, + "else": { + "operation": "boost", + "score": -0.017339229583740234 + } + }, + "else": { + "operation": "boost", + "score": -0.6493328809738159 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11276016384363174 + }, + "else": { + "operation": "boost", + "score": -0.24152597784996033 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.025437744334340096 + }, + "else": { + "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.044340673834085464 + }, + "else": { + "operation": "boost", + "score": 0.10945320129394531 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.25622668862342834 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05586863309144974 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.24904665350914001 + }, + "else": { + "operation": "boost", + "score": 0.005627520382404327 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.014813181944191456 + }, + "else": { + "operation": "boost", + "score": 0.09086447954177856 + } + }, + "else": { + "operation": "boost", + "score": -0.0165561493486166 + } + }, + "else": { + "operation": "boost", + "score": -0.029910946264863014 + } + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012679200153797865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.09917353093624115 + }, + "else": { + "operation": "boost", + "score": -0.02838880755007267 + } + }, + "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_SymbolOrNewName", + "CCC_Type" + ], + "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.019496357068419456 + }, + "else": { + "operation": "boost", + "score": -0.06584703922271729 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11109679937362671 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.0, + "then": { + "operation": "boost", + "score": 0.10794250667095184 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "then": { + "operation": "boost", + "score": -0.2194717973470688 + }, + "else": { + "operation": "boost", + "score": 0.07573314011096954 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015832269564270973 + }, + "else": { + "operation": "boost", + "score": 0.054910190403461456 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027132147923111916 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10348059982061386 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08491724729537964 + }, + "else": { + "operation": "boost", + "score": 0.09985729306936264 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.026059694588184357 + }, + "else": { + "operation": "boost", + "score": 0.10590160638093948 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10183166712522507 + } + } + }, + "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": "boost", + "score": 0.05068085342645645 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": 0.07043594121932983 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0767342820763588 + }, + "else": { + "operation": "boost", + "score": -0.3348245322704315 + } + }, + "else": { + "operation": "boost", + "score": 0.012967645190656185 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08682966977357864 + }, + "else": { + "operation": "boost", + "score": -0.13250890374183655 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1077430471777916 + }, + "else": { + "operation": "boost", + "score": 0.0474458746612072 + } + }, + "else": { + "operation": "boost", + "score": -0.1519646942615509 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66036.0, + "then": { + "operation": "boost", + "score": -0.2399548888206482 + }, + "else": { + "operation": "boost", + "score": 0.014761615544557571 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 298482.5, + "then": { + "operation": "boost", + "score": 0.002935609547421336 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.02789751999080181 + }, + "else": { + "operation": "boost", + "score": 0.08252768218517303 + } + }, + "else": { + "operation": "boost", + "score": 0.00043959703180007637 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.03531452640891075 + }, + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.056883376091718674 + }, + "else": { + "operation": "boost", + "score": 0.02265121228992939 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004762368742376566 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010586736723780632 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.14042095839977264 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_UnionTag", + "CCC_Other" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73859.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.04168093577027321 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.12567442655563354 + }, + "else": { + "operation": "boost", + "score": -0.12539348006248474 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17156097292900085 + } + }, + "else": { + "operation": "boost", + "score": -0.04701719433069229 + } + } + } + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.10370872169733047 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11260301619768143 + }, + "else": { + "operation": "boost", + "score": 0.11288459599018097 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1644909381866455 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.07399493455886841 + }, + "else": { + "operation": "boost", + "score": 0.08760645240545273 + } + }, + "else": { + "operation": "boost", + "score": -0.25445258617401123 + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.08838173002004623 + }, + "else": { + "operation": "boost", + "score": 0.08035439252853394 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11298924684524536 + }, + "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, + "then": { + "operation": "boost", + "score": -0.0398746058344841 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.11588111519813538 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09620403498411179 + }, + "else": { + "operation": "boost", + "score": 0.1197761595249176 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15946276485919952 + } + }, + "else": { + "operation": "boost", + "score": 0.26416951417922974 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55801.5, + "then": { + "operation": "boost", + "score": 0.028651194646954536 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10323808342218399 + }, + "else": { + "operation": "boost", + "score": 0.08235229551792145 + } + } + }, + "else": { + "operation": "boost", + "score": 0.013650782406330109 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.033358681946992874 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.17295025289058685 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08405457437038422 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50371.5, + "then": { + "operation": "boost", + "score": 0.15525692701339722 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.4976198673248291 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.045857273042201996 + }, + "else": { + "operation": "boost", + "score": 0.0760524719953537 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.25544288754463196 + }, + "else": { + "operation": "boost", + "score": 0.21083791553974152 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09181740880012512 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10264258086681366 + }, + "else": { + "operation": "boost", + "score": 0.12413997948169708 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46337.5, + "then": { + "operation": "boost", + "score": 0.11607726663351059 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.16393354535102844 + }, + "else": { + "operation": "boost", + "score": 0.12283500283956528 + } + }, + "else": { + "operation": "boost", + "score": 0.17651045322418213 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12085167318582535 + } + }, + "else": { + "operation": "boost", + "score": -0.05398333817720413 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 212623.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.01432979665696621 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.027463337406516075 + }, + "else": { + "operation": "boost", + "score": -0.030355852097272873 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.05600210279226303 + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0044879065826535225 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10247249901294708 + }, + "else": { + "operation": "boost", + "score": 0.06261392682790756 + } + } + }, + "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.07582896202802658 + }, + "else": { + "operation": "boost", + "score": -0.12003258615732193 + } + }, + "else": { + "operation": "boost", + "score": -0.20287516713142395 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0049793231301009655 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.02940147928893566 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.016145501285791397 + }, + "else": { + "operation": "boost", + "score": -0.6180704236030579 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.061395078897476196 + }, + "else": { + "operation": "boost", + "score": 0.02114391326904297 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12250147759914398 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.022554535418748856 + }, + "else": { + "operation": "boost", + "score": 0.10881777852773666 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09210918098688126 + }, + "else": { + "operation": "boost", + "score": 0.084456667304039 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005875807721167803 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108013.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04840651527047157 + }, + "else": { + "operation": "boost", + "score": 0.1404331624507904 + } + }, + "else": { + "operation": "boost", + "score": 0.007922117598354816 + } + }, + "else": { + "operation": "boost", + "score": -0.04443205147981644 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.09516641497612 + }, + "else": { + "operation": "boost", + "score": 0.054279085248708725 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 222060.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.24548014998435974 + }, + "else": { + "operation": "boost", + "score": 0.09715446829795837 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.13614718616008759 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75477.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "boost", + "score": 0.034844767302274704 + }, + "else": { + "operation": "boost", + "score": 0.08998821675777435 + } + }, + "else": { + "operation": "boost", + "score": -0.17029008269309998 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006353101227432489 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10673458129167557 + }, + "else": { + "operation": "boost", + "score": -0.232615128159523 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.016646970063447952 + }, + "else": { + "operation": "boost", + "score": 0.11566895246505737 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69581.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.016308393329381943 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47029.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08303656429052353 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46801.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08764490485191345 + }, + "else": { + "operation": "boost", + "score": 0.11574158817529678 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.025115059688687325 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.22551527619361877 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 219439.0, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.00250198389403522 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 286067.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "boost", + "score": -0.11692141741514206 + }, + "else": { + "operation": "boost", + "score": 0.01678032986819744 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11277218163013458 + }, + "else": { + "operation": "boost", + "score": 0.09686441719532013 + } + }, + "else": { + "operation": "boost", + "score": -0.005602747667580843 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58696.0, + "then": { + "operation": "boost", + "score": -0.09356430172920227 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.08254691958427429 + }, + "else": { + "operation": "boost", + "score": 0.1570642590522766 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": -0.2366739809513092 + }, + "else": { + "operation": "boost", + "score": 0.0028963498771190643 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 549246.0, + "then": { + "operation": "boost", + "score": -0.01966852881014347 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09976091235876083 + }, + "else": { + "operation": "boost", + "score": 0.10468949377536774 + } + }, + "else": { + "operation": "boost", + "score": -0.012191936373710632 + } + }, + "else": { + "operation": "boost", + "score": 0.030442530289292336 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00867009162902832 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1000901311635971 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043172165751457214 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": -0.33668699860572815 + }, + "else": { + "operation": "boost", + "score": 0.07315246015787125 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2690153121948242 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005753308068960905 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0025547808036208153 + } + }, + "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.06432218849658966 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.1027255430817604 + }, + "else": { + "operation": "boost", + "score": 0.09867963194847107 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.07542601972818375 + }, + "else": { + "operation": "boost", + "score": 0.06883474439382553 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05351486802101135 + } + }, + "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": { + "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_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.0016659527318552136 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011504556983709335 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "boost", + "score": -0.01787685975432396 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, + "then": { + "operation": "boost", + "score": 0.10748995840549469 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.041352950036525726 + }, + "else": { + "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": "boost", + "score": 0.08030007034540176 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.13508835434913635 + }, + "else": { + "operation": "boost", + "score": 0.13884708285331726 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020632043480873108 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.04805361479520798 + }, + "else": { + "operation": "boost", + "score": 0.13475051522254944 + } + }, + "else": { + "operation": "boost", + "score": 0.026339111849665642 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.019799329340457916 + } + }, + "else": { + "operation": "boost", + "score": 0.0032223882153630257 + } + }, + "else": { + "operation": "boost", + "score": -0.07245346158742905 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.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, + "then": { + "operation": "boost", + "score": 0.11720868945121765 + }, + "else": { + "operation": "boost", + "score": -0.1059110164642334 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.022547300904989243 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.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 + } + }, + "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 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "boost", + "score": -0.03279237449169159 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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", + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.21779562532901764 + }, + "else": { + "operation": "boost", + "score": 0.14369066059589386 + } + }, + "else": { + "operation": "boost", + "score": -0.16838812828063965 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.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 + } + } + } + }, + "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 + } + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11006533354520798 + }, + "else": { + "operation": "boost", + "score": -0.12287801504135132 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017123837023973465 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.5158054232597351 + }, + "else": { + "operation": "boost", + "score": -0.0029873435851186514 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.031847164034843445 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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, + "then": { + "operation": "boost", + "score": -0.026430055499076843 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06246969476342201 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08220809698104858 + }, + "else": { + "operation": "boost", + "score": 0.11033187806606293 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.10673431307077408 + }, + "else": { + "operation": "boost", + "score": 0.1022837683558464 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.004916311241686344 + } + }, + "else": { + "operation": "boost", + "score": 0.003295038128271699 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.025185728445649147 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3202.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.109374038875103 + }, + "else": { + "operation": "boost", + "score": -3.864729881286621 + } + }, + "else": { + "operation": "boost", + "score": 0.08512996137142181 + } + }, + "else": { + "operation": "boost", + "score": 0.033821459859609604 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 194.0, + "then": { + "operation": "boost", + "score": 0.14179711043834686 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.12392407655715942 + }, + "else": { + "operation": "boost", + "score": 0.08054924756288528 + } + }, + "else": { + "operation": "boost", + "score": -0.010825559496879578 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 658.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 798.0, + "then": { + "operation": "boost", + "score": -0.0035512177273631096 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.03946241736412048 + }, + "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", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13903.5, + "then": { + "operation": "boost", + "score": 0.05118419975042343 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8069.0, + "then": { + "operation": "boost", + "score": 0.008998535573482513 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11044690757989883 + }, + "else": { + "operation": "boost", + "score": 0.12776951491832733 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11933456361293793 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008491120301187038 + } + }, + "else": { + "operation": "boost", + "score": 0.050552383065223694 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07636754959821701 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28161.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.02086327038705349 + }, + "else": { + "operation": "boost", + "score": 0.13541384041309357 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10161051154136658 + }, + "else": { + "operation": "boost", + "score": -0.4943397343158722 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08825933933258057 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.036737844347953796 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.00830802321434021 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "boost", + "score": 0.020602574571967125 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10711675137281418 + }, + "else": { + "operation": "boost", + "score": 0.12630552053451538 + } + }, + "else": { + "operation": "boost", + "score": 0.0203480776399374 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.04141746833920479 + }, + "else": { + "operation": "boost", + "score": 0.10491964966058731 + } + } + }, + "else": { + "operation": "boost", + "score": -0.37184828519821167 + } + } + } + } + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "boost", + "score": 0.11352929472923279 + }, + "else": { + "operation": "boost", + "score": -0.17202551662921906 + } + }, + "else": { + "operation": "boost", + "score": 0.006859248504042625 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11379852890968323 + }, + "else": { + "operation": "boost", + "score": -0.1374058574438095 + } + }, + "else": { + "operation": "boost", + "score": -0.08778397738933563 + } + } + }, + "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 + } + } + } + }, + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "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_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_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.053498201072216034 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3778221607208252 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.08354295790195465 + }, + "else": { + "operation": "boost", + "score": 0.12021603435277939 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.14347237348556519 + }, + "else": { + "operation": "boost", + "score": 0.1085711419582367 + } + }, + "else": { + "operation": "boost", + "score": 0.08606768399477005 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.008296919986605644 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.019065165892243385 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.030902305617928505 + } + } + }, + "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": 8.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.06647934764623642 + }, + "else": { + "operation": "boost", + "score": -0.4971138536930084 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.061984833329916 + }, + "else": { + "operation": "boost", + "score": -0.45302924513816833 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.23742128908634186 + }, + "else": { + "operation": "boost", + "score": 0.10562258213758469 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.009766699746251106 + }, + "else": { + "operation": "boost", + "score": 0.1049950122833252 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0161354411393404 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.01712328940629959 + }, + "else": { + "operation": "boost", + "score": -0.12577936053276062 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03792425990104675 + }, + "else": { + "operation": "boost", + "score": 0.09007394313812256 + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0824960395693779 + }, + "else": { + "operation": "boost", + "score": -0.09798291325569153 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.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 + } + }, + "else": { + "operation": "boost", + "score": 0.09583029896020889 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 664.0, + "then": { + "operation": "boost", + "score": -0.024812273681163788 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029374854639172554 + }, + "else": { + "operation": "boost", + "score": 0.08149552345275879 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006378151010721922 + } + }, + "else": { + "operation": "boost", + "score": -0.051301900297403336 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013158186338841915 + } + } + } + }, + { + "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": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47029.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10003073513507843 + }, + "else": { + "operation": "boost", + "score": 0.10407542437314987 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1642632782459259 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0029182941652834415 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51599.0, + "then": { + "operation": "boost", + "score": 0.0029360605403780937 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50563.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10007995367050171 + }, + "else": { + "operation": "boost", + "score": 0.11863048374652863 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.0972706601023674 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.09305548667907715 + }, + "else": { + "operation": "boost", + "score": 0.07218996435403824 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05367258936166763 + } + }, + "else": { + "operation": "boost", + "score": 0.12431050091981888 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.0009486092021688819 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.01593923568725586 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.01894998922944069 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.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 + } + }, + "else": { + "operation": "boost", + "score": 0.014670588076114655 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13415.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.306618869304657 + }, + "else": { + "operation": "boost", + "score": -0.10308368504047394 + } + }, + "else": { + "operation": "boost", + "score": -0.10196471959352493 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08037764579057693 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.08044679462909698 + }, + "else": { + "operation": "boost", + "score": 0.11681479215621948 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06538636237382889 + }, + "else": { + "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.16241073608398438 + }, + "else": { + "operation": "boost", + "score": -0.1026073545217514 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00820588693022728 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023924777284264565 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.07456252723932266 + }, + "else": { + "operation": "boost", + "score": 0.038966141641139984 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.011855495162308216 + } + }, + "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_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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", + "set": [ + "CCC_Namespace" + ], + "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, + "then": { + "operation": "boost", + "score": -0.004038545303046703 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05551730468869209 + }, + "else": { + "operation": "boost", + "score": 0.008371374569833279 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.11161207407712936 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07166216522455215 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11033882200717926 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.036052558571100235 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09074098616838455 + }, + "else": { + "operation": "boost", + "score": 0.04983946308493614 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.05181282013654709 + }, + "else": { + "operation": "boost", + "score": -0.04182669520378113 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02180514857172966 + } + }, + "else": { + "operation": "boost", + "score": -0.006313868332654238 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.013166148215532303 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0168373491615057 + }, + "else": { + "operation": "boost", + "score": 0.018692225217819214 + } + } + }, + "else": { + "operation": "boost", + "score": -0.009188790805637836 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.5055537223815918 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.0077340127900242805 + }, + "else": { + "operation": "boost", + "score": 0.12168670445680618 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04216635972261429 + }, + "else": { + "operation": "boost", + "score": 0.03019959293305874 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.02787671610713005 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.11307711899280548 + }, + "else": { + "operation": "boost", + "score": -0.10310040414333344 + } + }, + "else": { + "operation": "boost", + "score": 0.06056464836001396 + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0032637622207403183 + } + } + } + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.0012693945318460464 + }, + "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": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.09561565518379211 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0263572596013546 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.04401068761944771 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.11680824309587479 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05967341363430023 + }, + "else": { + "operation": "boost", + "score": 0.12631076574325562 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.2203681617975235 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.039619069546461105 + }, + "else": { + "operation": "boost", + "score": 0.1270970106124878 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06858329474925995 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06213217228651047 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13337428867816925 + }, + "else": { + "operation": "boost", + "score": 0.09725083410739899 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12874481081962585 + }, + "else": { + "operation": "boost", + "score": 0.0971861481666565 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "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, + "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.04440758377313614 + }, + "else": { + "operation": "boost", + "score": 0.11567216366529465 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.06123445928096771 + }, + "else": { + "operation": "boost", + "score": -0.050718121230602264 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09380746632814407 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10665084421634674 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.14293219149112701 + }, + "else": { + "operation": "boost", + "score": 0.39875805377960205 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.037235695868730545 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.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, + "then": { + "operation": "boost", + "score": 0.16837675869464874 + }, + "else": { + "operation": "boost", + "score": 0.23124757409095764 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13604475557804108 + } + }, + "else": { + "operation": "boost", + "score": 0.10136502236127853 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 130.5, + "then": { + "operation": "boost", + "score": 0.022553307935595512 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.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, + "then": { + "operation": "boost", + "score": -0.14506441354751587 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.12508827447891235 + }, + "else": { + "operation": "boost", + "score": -0.12446139007806778 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.056730207055807114 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.04035254940390587 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.6900957822799683 + }, + "else": { + "operation": "boost", + "score": 0.10816791653633118 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.08431936800479889 + }, + "else": { + "operation": "boost", + "score": 0.05342717096209526 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.011920181103050709 + }, + "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": 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": 25.5, + "then": { + "operation": "boost", + "score": 0.05823136493563652 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.10655225068330765 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.0084063820540905 + }, + "else": { + "operation": "boost", + "score": 0.10284488648176193 + } + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.004810975398868322 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.10329299420118332 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.025625577196478844 + }, + "else": { + "operation": "boost", + "score": 0.10466931015253067 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": -0.10272084921598434 + }, + "else": { + "operation": "boost", + "score": 0.12994085252285004 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.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": "boost", + "score": 0.10429751873016357 + }, + "else": { + "operation": "boost", + "score": -0.017907563596963882 + } + }, + "else": { + "operation": "boost", + "score": 0.01527892891317606 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05925268679857254 + } + } + } + } + } + } + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.05957793444395065 + }, + "else": { + "operation": "boost", + "score": 0.14209696650505066 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2082.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, + "then": { + "operation": "boost", + "score": 0.07276016473770142 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.16828086972236633 + }, + "else": { + "operation": "boost", + "score": 0.0436689592897892 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.033833786845207214 + } + }, + "else": { + "operation": "boost", + "score": 0.014943802729249 + } + }, + "else": { + "operation": "boost", + "score": -0.047085024416446686 + } + }, + "else": { + "operation": "boost", + "score": -0.02060840092599392 + } + } + }, + "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.06270921230316162 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0825049951672554 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.0002276350714964792 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09503129869699478 + }, + "else": { + "operation": "boost", + "score": 0.12439177185297012 + } + }, + "else": { + "operation": "boost", + "score": -0.03587411716580391 + } + }, + "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": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09616227447986603 + }, + "else": { + "operation": "boost", + "score": 0.05250190198421478 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05473252013325691 + }, + "else": { + "operation": "boost", + "score": 0.10620772838592529 + } + }, + "else": { + "operation": "boost", + "score": 0.08904644101858139 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0820946916937828 + } + }, + "else": { + "operation": "boost", + "score": 0.002058790298178792 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03354491665959358 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59076.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10087551921606064 + }, + "else": { + "operation": "boost", + "score": 0.11485829949378967 + } + }, + "else": { + "operation": "boost", + "score": 0.03396041318774223 + } + }, + "else": { + "operation": "boost", + "score": -0.001821558573283255 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 273152.0, + "then": { + "operation": "boost", + "score": -0.012514726258814335 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03700707480311394 + }, + "else": { + "operation": "boost", + "score": 0.07911112904548645 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03503425419330597 + }, + "else": { + "operation": "boost", + "score": 0.05105311796069145 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.026341037824749947 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.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": 11.5, + "then": { + "operation": "boost", + "score": 0.009701582603156567 + }, + "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": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.0, + "then": { + "operation": "boost", + "score": 0.22381654381752014 + }, + "else": { + "operation": "boost", + "score": 0.020200209692120552 + } + }, + "else": { + "operation": "boost", + "score": 0.1154247373342514 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00796323362737894 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "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": 176.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1424.5, + "then": { + "operation": "boost", + "score": 0.04907352849841118 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12671586871147156 + }, + "else": { + "operation": "boost", + "score": 0.028312353417277336 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08959546685218811 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85554.5, + "then": { + "operation": "boost", + "score": -0.11665183305740356 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.024214042350649834 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73296.0, + "then": { + "operation": "boost", + "score": 0.1107548251748085 + }, + "else": { + "operation": "boost", + "score": 0.11279746145009995 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11733512580394745 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.07250051945447922 + }, + "else": { + "operation": "boost", + "score": 0.10150379687547684 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73296.0, + "then": { + "operation": "boost", + "score": 0.07359202951192856 + }, + "else": { + "operation": "boost", + "score": -0.15508684515953064 + } + } + } + } + }, + "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", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010188711807131767 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0801982656121254 + }, + "else": { + "operation": "boost", + "score": -0.023738596588373184 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "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 + }, + "else": { + "operation": "boost", + "score": 0.06397248804569244 + } + }, + "else": { + "operation": "boost", + "score": -0.028323322534561157 + } + }, + "else": { + "operation": "boost", + "score": -0.046558938920497894 + } + } + } + } + } + }, + "else": { + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.020758450031280518 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.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 + } + }, + "else": { + "operation": "boost", + "score": -0.10673630982637405 + } + }, + "else": { + "operation": "boost", + "score": -0.0007355291745625436 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.004644361324608326 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09696172922849655 + }, + "else": { + "operation": "boost", + "score": -0.1039293184876442 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.015685103833675385 + }, + "else": { + "operation": "boost", + "score": -0.05746820569038391 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.11517584323883057 + }, + "else": { + "operation": "boost", + "score": 0.1112833023071289 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.01522984728217125 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.0986509844660759 + }, + "else": { + "operation": "boost", + "score": -0.014540105126798153 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10911419242620468 + }, + "else": { + "operation": "boost", + "score": 0.09042041748762131 + } + } + } + } + } + }, + "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": 5138.5, + "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, + "then": { + "operation": "boost", + "score": 0.11426986008882523 + }, + "else": { + "operation": "boost", + "score": -0.025213902816176414 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1024041622877121 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03598029166460037 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.21616590023040771 + }, + "else": { + "operation": "boost", + "score": 0.04844599589705467 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06732179969549179 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06424348056316376 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.505266547203064 + }, + "else": { + "operation": "boost", + "score": 0.048464056104421616 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3884.0, + "then": { + "operation": "boost", + "score": 0.015547121874988079 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12213853001594543 + }, + "else": { + "operation": "boost", + "score": 0.19491466879844666 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05838089808821678 + }, + "else": { + "operation": "boost", + "score": 0.08432243019342422 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98110.0, + "then": { + "operation": "boost", + "score": -0.031889162957668304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59248.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.093903087079525 + } + }, + "else": { + "operation": "boost", + "score": 0.018778689205646515 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32879.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.002312432276085019 + }, + "else": { + "operation": "boost", + "score": 0.10995890200138092 + } + }, + "else": { + "operation": "boost", + "score": 0.07065382599830627 + } + }, + "else": { + "operation": "boost", + "score": 0.010493268258869648 + } + }, + "else": { + "operation": "boost", + "score": 0.11303965002298355 + } + } + } + } + } + }, + "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 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11365605145692825 + }, + "else": { + "operation": "boost", + "score": 0.1012800857424736 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.07333008944988251 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20118.5, + "then": { + "operation": "boost", + "score": 0.10256599634885788 + }, + "else": { + "operation": "boost", + "score": -0.05688599497079849 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4906.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5011.5, + "then": { + "operation": "boost", + "score": -0.043964892625808716 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.11914070695638657 + }, + "else": { + "operation": "boost", + "score": 0.13748015463352203 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.07214333862066269 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4519.5, + "then": { + "operation": "boost", + "score": -0.5436968803405762 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4376.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.12867122888565063 + }, + "else": { + "operation": "boost", + "score": -0.4393049478530884 + } + }, + "else": { + "operation": "boost", + "score": -0.32033634185791016 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.46334388852119446 + } + }, + "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": 3079.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.03832749277353287 + }, + "else": { + "operation": "boost", + "score": 0.13206346333026886 + } + }, + "else": { + "operation": "boost", + "score": -0.558603823184967 + } + }, + "else": { + "operation": "boost", + "score": 0.11392012983560562 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2965.0, + "then": { + "operation": "boost", + "score": 0.09845741838216782 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 791.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.13879360258579254 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.04387671872973442 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05224648490548134 + }, + "else": { + "operation": "boost", + "score": -0.6758942604064941 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.047329094260931015 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06621251255273819 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.16087692975997925 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1264.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1572.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2021.0, + "then": { + "operation": "boost", + "score": 0.019836414605379105 + }, + "else": { + "operation": "boost", + "score": 0.09767806529998779 + } + }, + "else": { + "operation": "boost", + "score": -0.33089473843574524 + } + }, + "else": { + "operation": "boost", + "score": 0.09696903079748154 + } + }, + "else": { + "operation": "boost", + "score": -0.0450972281396389 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09055133163928986 + } + } + } + }, + "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 + } + } + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 717.5, + "then": { + "operation": "boost", + "score": 0.10565732419490814 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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, + "then": { + "operation": "boost", + "score": -0.7812886238098145 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 692.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10875546932220459 + }, + "else": { + "operation": "boost", + "score": -0.055031005293130875 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.013893277384340763 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.9323233962059021 + }, + "else": { + "operation": "boost", + "score": -0.27505382895469666 + } + }, + "else": { + "operation": "boost", + "score": 0.12026592344045639 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 461.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 467.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 494.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 499.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07706951349973679 + } + }, + "else": { + "operation": "boost", + "score": -0.3482063114643097 + } + }, + "else": { + "operation": "boost", + "score": 0.08502105623483658 + } + }, + "else": { + "operation": "boost", + "score": -0.3534105122089386 + } + } + } + } + } + } + } + } + }, + "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", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.4160210192203522 + }, + "else": { + "operation": "boost", + "score": 0.6025307178497314 + } + }, + "else": { + "operation": "boost", + "score": -0.10660963505506516 + } + }, + "else": { + "operation": "boost", + "score": -0.12092997133731842 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.016298089176416397 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29053.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": 0.008329042233526707 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10030408948659897 + }, + "else": { + "operation": "boost", + "score": 0.057140052318573 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020420245826244354 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.007566288113594055 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.023055125027894974 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07694371789693832 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26286.0, + "then": { + "operation": "boost", + "score": 0.1095973327755928 + }, + "else": { + "operation": "boost", + "score": 0.07911944389343262 + } + }, + "else": { + "operation": "boost", + "score": 0.08499807864427567 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1207757368683815 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.21360860764980316 + }, + "else": { + "operation": "boost", + "score": -0.92652428150177 + } + } + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 788.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3109.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11376988142728806 + }, + "else": { + "operation": "boost", + "score": 0.10742225497961044 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.04824698343873024 + }, + "else": { + "operation": "boost", + "score": -0.025981998071074486 + } + }, + "else": { + "operation": "boost", + "score": -0.03936868533492088 + } + } + } + }, + "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": 3079.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.03543591871857643 + }, + "else": { + "operation": "boost", + "score": 0.1315298229455948 + } + }, + "else": { + "operation": "boost", + "score": -0.37092769145965576 + } + }, + "else": { + "operation": "boost", + "score": 0.11006411910057068 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2965.0, + "then": { + "operation": "boost", + "score": 0.0967007502913475 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.13850747048854828 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.043742623180150986 + }, + "else": { + "operation": "boost", + "score": -0.26901379227638245 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 794.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027694910764694214 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12120795994997025 + }, + "else": { + "operation": "boost", + "score": 0.12516865134239197 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1265.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1297.0, + "then": { + "operation": "boost", + "score": 0.036433249711990356 + }, + "else": { + "operation": "boost", + "score": 0.09788195788860321 + } + }, + "else": { + "operation": "boost", + "score": -0.09837230294942856 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08616825938224792 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08357463032007217 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1389.0, + "then": { + "operation": "boost", + "score": 0.05123234912753105 + }, + "else": { + "operation": "boost", + "score": 0.10892869532108307 + } + } + } + } + }, + "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": "boost", + "score": 0.10682819783687592 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 463.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.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": "boost", + "score": 0.040207359939813614 + }, + "else": { + "operation": "boost", + "score": 0.21518979966640472 + } + }, + "else": { + "operation": "boost", + "score": -0.07926683127880096 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 605.0, + "then": { + "operation": "boost", + "score": -0.5907401442527771 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 531.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 585.0, + "then": { + "operation": "boost", + "score": 0.14219486713409424 + }, + "else": { + "operation": "boost", + "score": 0.10546901077032089 + } + }, + "else": { + "operation": "boost", + "score": -0.08303342014551163 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10207194089889526 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06621444225311279 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 433.5, + "then": { + "operation": "boost", + "score": 0.1012287586927414 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 425.0, + "then": { + "operation": "boost", + "score": -0.2556059658527374 + }, + "else": { + "operation": "boost", + "score": 0.09430467337369919 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 419.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4254.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4255.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018664397299289703 + }, + "else": { + "operation": "boost", + "score": 0.0071724820882081985 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0653185099363327 + }, + "else": { + "operation": "boost", + "score": 0.14343419671058655 + } + }, + "else": { + "operation": "boost", + "score": 0.1962968409061432 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04819754138588905 + }, + "else": { + "operation": "boost", + "score": 0.11070571094751358 + } + }, + "else": { + "operation": "boost", + "score": 0.12272524833679199 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009432904422283173 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11241170763969421 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.1261482685804367 + }, + "else": { + "operation": "boost", + "score": -0.08857739716768265 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0013387504732236266 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "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 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012684659101068974 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "boost", + "score": -0.10225959122180939 + }, + "else": { + "operation": "boost", + "score": 0.12274100631475449 + } + }, + "else": { + "operation": "boost", + "score": -0.12252483516931534 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.0, + "then": { + "operation": "boost", + "score": 0.19332636892795563 + }, + "else": { + "operation": "boost", + "score": 0.08577731251716614 + } + }, + "else": { + "operation": "boost", + "score": 0.022927455604076385 + } + } + }, + "else": { + "operation": "boost", + "score": -0.023469798266887665 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "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.06458956748247147 + }, + "else": { + "operation": "boost", + "score": -0.05015102028846741 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06421345472335815 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.06185959279537201 + }, + "else": { + "operation": "boost", + "score": 0.1108003482222557 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.014182912185788155 + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28306.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "boost", + "score": 0.006486688740551472 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159753.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05171816423535347 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08976243436336517 + }, + "else": { + "operation": "boost", + "score": 0.07725922763347626 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.021496504545211792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32879.0, + "then": { + "operation": "boost", + "score": 0.046174000948667526 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10123837739229202 + }, + "else": { + "operation": "boost", + "score": 0.1183118000626564 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236336.5, + "then": { + "operation": "boost", + "score": 0.026049673557281494 + }, + "else": { + "operation": "boost", + "score": -0.031128207221627235 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27939.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10355542600154877 + }, + "else": { + "operation": "boost", + "score": -0.09721411764621735 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26369.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09757184982299805 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.11156924813985825 + }, + "else": { + "operation": "boost", + "score": 0.09518225491046906 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17754.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09182511270046234 + }, + "else": { + "operation": "boost", + "score": 0.11461431533098221 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8660.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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.09738888591527939 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5328.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0792321264743805 + }, + "else": { + "operation": "boost", + "score": -0.11388690769672394 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4781.0, + "then": { + "operation": "boost", + "score": 0.0833922028541565 + }, + "else": { + "operation": "boost", + "score": 0.00997773464769125 + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.08068539947271347 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.08536464720964432 + }, + "else": { + "operation": "boost", + "score": -0.21864569187164307 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1274.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09294486045837402 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10437081009149551 + }, + "else": { + "operation": "boost", + "score": 0.10555864125490189 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1024.0, + "then": { + "operation": "boost", + "score": -0.28404727578163147 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 796.5, + "then": { + "operation": "boost", + "score": 0.03138948231935501 + }, + "else": { + "operation": "boost", + "score": -0.9348715543746948 + } + }, + "else": { + "operation": "boost", + "score": 0.08042164891958237 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 904.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11036.5, + "then": { + "operation": "boost", + "score": -0.15242819488048553 + }, + "else": { + "operation": "boost", + "score": -0.01428215391933918 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 846.0, + "then": { + "operation": "boost", + "score": 0.13246019184589386 + }, + "else": { + "operation": "boost", + "score": 0.18896038830280304 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1276.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3004.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11986.0, + "then": { + "operation": "boost", + "score": 0.1110699251294136 + }, + "else": { + "operation": "boost", + "score": -0.05249573290348053 + } + }, + "else": { + "operation": "boost", + "score": -0.014651200734078884 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2979.5, + "then": { + "operation": "boost", + "score": 0.10770200192928314 + }, + "else": { + "operation": "boost", + "score": 0.023384781554341316 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.017774801701307297 + }, + "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.09378023445606232 + }, + "else": { + "operation": "boost", + "score": 0.10577278584241867 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 637.5, + "then": { + "operation": "boost", + "score": -0.309001088142395 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "boost", + "score": 0.17985323071479797 + }, + "else": { + "operation": "boost", + "score": -0.03679392486810684 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.20724323391914368 + } + }, + "else": { + "operation": "boost", + "score": 0.1163940504193306 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 461.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 475.5, + "then": { + "operation": "boost", + "score": -0.04716460779309273 + }, + "else": { + "operation": "boost", + "score": 0.07427383959293365 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.08112694323062897 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.038998719304800034 + }, + "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": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3214.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.027832014486193657 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3500.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4521.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9216.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11811.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13901.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09527098387479782 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.0665370300412178 + }, + "else": { + "operation": "boost", + "score": -0.24787676334381104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7746.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.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 + } + }, + "else": { + "operation": "boost", + "score": 0.05386481061577797 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.04888360574841499 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6737.0, + "then": { + "operation": "boost", + "score": -0.054797880351543427 + }, + "else": { + "operation": "boost", + "score": 0.11440455168485641 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.17251768708229065 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7543.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27312.5, + "then": { + "operation": "boost", + "score": 0.11363507807254791 + }, + "else": { + "operation": "boost", + "score": -0.04431654140353203 + } + }, + "else": { + "operation": "boost", + "score": 0.1240001916885376 + } + }, + "else": { + "operation": "boost", + "score": 0.046097829937934875 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012778266333043575 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 403.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.5250263214111328 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32709.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "boost", + "score": -0.0011295467847958207 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.13554354012012482 + }, + "else": { + "operation": "boost", + "score": 0.023630613461136818 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "boost", + "score": -0.08044775575399399 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13381.5, + "then": { + "operation": "boost", + "score": 0.13060614466667175 + }, + "else": { + "operation": "boost", + "score": -0.020441526547074318 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007103775627911091 + } + }, + "else": { + "operation": "boost", + "score": 0.10479167103767395 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11517121642827988 + }, + "else": { + "operation": "boost", + "score": 0.06516465544700623 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.15064793825149536 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.039375580847263336 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11452741920948029 + }, + "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 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.14837215840816498 + }, + "else": { + "operation": "boost", + "score": 0.145377978682518 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag" + ], + "then": { + "operation": "boost", + "score": 0.09623903036117554 + }, + "else": { + "operation": "boost", + "score": -0.03620993718504906 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08441317081451416 + }, + "else": { + "operation": "boost", + "score": 0.009204075671732426 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.29716965556144714 + }, + "else": { + "operation": "boost", + "score": 0.1273193210363388 + } + }, + "else": { + "operation": "boost", + "score": 0.05472336709499359 + } + }, + "else": { + "operation": "boost", + "score": 0.031832437962293625 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0181774590164423 + }, + "else": { + "operation": "boost", + "score": 0.008500134572386742 + } + } + }, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10180.0, + "then": { + "operation": "boost", + "score": -0.008446479216217995 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7398.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8232.5, + "then": { + "operation": "boost", + "score": -0.15819942951202393 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7635.5, + "then": { + "operation": "boost", + "score": 0.12656204402446747 + }, + "else": { + "operation": "boost", + "score": -0.10366855561733246 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0531361885368824 + } + }, + "else": { + "operation": "boost", + "score": 0.01058913953602314 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012396453879773617 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.041520025581121445 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50011.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09345071017742157 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0003700342494994402 + }, + "else": { + "operation": "boost", + "score": -0.17725327610969543 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.20083647966384888 + }, + "else": { + "operation": "boost", + "score": 0.011701601557433605 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010675468482077122 + } + } + }, + "else": { + "operation": "boost", + "score": 0.026899220421910286 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.22502857446670532 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.054253142327070236 + }, + "else": { + "operation": "boost", + "score": 0.026898512616753578 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.1820717304944992 + }, + "else": { + "operation": "boost", + "score": 0.08223545551300049 + } + }, + "else": { + "operation": "boost", + "score": 0.02434743195772171 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09464746713638306 + }, + "else": { + "operation": "boost", + "score": -0.02875123918056488 + } + }, + "else": { + "operation": "boost", + "score": 0.10653582960367203 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.06288031488656998 + }, + "else": { + "operation": "boost", + "score": -0.07666920870542526 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006883583497256041 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005881914403289557 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.12419604510068893 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0145185561850667 + }, + "else": { + "operation": "boost", + "score": 0.12764762341976166 + } + }, + "else": { + "operation": "boost", + "score": 0.01628921367228031 + } + }, + "else": { + "operation": "boost", + "score": 0.0072884033434093 + } + }, + "else": { + "operation": "boost", + "score": -0.006821479648351669 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.04976346343755722 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 255.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.13935311138629913 + }, + "else": { + "operation": "boost", + "score": 0.0017617268022149801 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00661334116011858 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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, + "then": { + "operation": "boost", + "score": 0.09592876583337784 + }, + "else": { + "operation": "boost", + "score": 0.12948960065841675 + } + }, + "else": { + "operation": "boost", + "score": 0.09611884504556656 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.02164696343243122 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007772430777549744 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11696524173021317 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10071143507957458 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06712251901626587 + }, + "else": { + "operation": "boost", + "score": 0.08937763422727585 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.060311853885650635 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11052694171667099 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.044144872575998306 + } + } + } + }, + "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", + "set": [ + "CCC_TopLevel", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "boost", + "score": 0.07594936341047287 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10936618596315384 + }, + "else": { + "operation": "boost", + "score": -0.128285750746727 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16469.0, + "then": { + "operation": "boost", + "score": 0.06112668290734291 + }, + "else": { + "operation": "boost", + "score": 0.19460339844226837 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10021466016769409 + }, + "else": { + "operation": "boost", + "score": 0.09590569138526917 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0395352877676487 + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009361719130538404 + } + }, + { + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.03885771334171295 + }, + "else": { + "operation": "boost", + "score": 0.061719149351119995 + } + }, + "else": { + "operation": "boost", + "score": -0.04823124781250954 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0373949259519577 + }, + "else": { + "operation": "boost", + "score": 0.07999405264854431 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0665874183177948 + }, + "else": { + "operation": "boost", + "score": 0.11056528240442276 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.21165765821933746 + }, + "else": { + "operation": "boost", + "score": 0.11717449873685837 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.4176090955734253 + }, + "else": { + "operation": "boost", + "score": 0.10808182507753372 + } + }, + "else": { + "operation": "boost", + "score": -0.10554905980825424 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04270102456212044 + } + }, + "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 + } + } + } + } + }, + "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" + ], + "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" + ], + "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": 18.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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0034219305962324142 + }, + "else": { + "operation": "boost", + "score": 0.09556038677692413 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11492817103862762 + }, + "else": { + "operation": "boost", + "score": 0.10374217480421066 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14668050408363342 + }, + "else": { + "operation": "boost", + "score": 0.05034591257572174 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10504598915576935 + }, + "else": { + "operation": "boost", + "score": 0.05190115049481392 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010093184188008308 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04935385286808014 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0668143481016159 + }, + "else": { + "operation": "boost", + "score": 0.019339419901371002 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03646259009838104 + } + }, + "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.07684462517499924 + }, + "else": { + "operation": "boost", + "score": 0.12900371849536896 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.0, + "then": { + "operation": "boost", + "score": 0.013779004104435444 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.18835341930389404 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1694573312997818 + }, + "else": { + "operation": "boost", + "score": 0.120337575674057 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.13231132924556732 + }, + "else": { + "operation": "boost", + "score": 0.04485180601477623 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 78.5, + "then": { + "operation": "boost", + "score": 0.10039456933736801 + }, + "else": { + "operation": "boost", + "score": 0.05697855353355408 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11343294382095337 + }, + "else": { + "operation": "boost", + "score": 0.12425536662340164 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06697646528482437 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3079.0, + "then": { + "operation": "boost", + "score": -0.0397467166185379 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1069.0, + "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 + } + }, + "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, + "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": "boost", + "score": -0.012461884878575802 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.111964650452137 + }, + "else": { + "operation": "boost", + "score": -0.09278786927461624 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.02810571901500225 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.05711498484015465 + }, + "else": { + "operation": "boost", + "score": 0.11138372123241425 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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, + "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" + ], + "then": { + "operation": "boost", + "score": -0.056561414152383804 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.038261204957962036 + }, + "else": { + "operation": "boost", + "score": -0.09333217889070511 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.015796968713402748 + }, + "else": { + "operation": "boost", + "score": -0.13511940836906433 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03405308350920677 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06430889666080475 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.09816201031208038 + }, + "else": { + "operation": "boost", + "score": 0.03313755989074707 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0019696811214089394 + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.006337952334433794 + } + }, + "else": { + "operation": "boost", + "score": -0.0153566375374794 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.08856210857629776 + }, + "else": { + "operation": "boost", + "score": 0.10679715126752853 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00019126301049254835 + } + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "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.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 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.010365060530602932 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.09422019124031067 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.01565195806324482 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.23072674870491028 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06426993757486343 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028583526611328125 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03348243981599808 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.03206603601574898 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04299449548125267 + }, + "else": { + "operation": "boost", + "score": 0.09194915741682053 + } + }, + "else": { + "operation": "boost", + "score": 0.043564531952142715 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "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_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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006361859384924173 + } + }, + "else": { + "operation": "boost", + "score": -0.1224040687084198 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.045396409928798676 + }, + "else": { + "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_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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012969886884093285 + } + } + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19905.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26817.0, + "then": { + "operation": "boost", + "score": -0.07399526238441467 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, + "then": { + "operation": "boost", + "score": 0.1219237893819809 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21097.0, + "then": { + "operation": "boost", + "score": -0.11947748064994812 + }, + "else": { + "operation": "boost", + "score": 0.11823464184999466 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03556819260120392 + } + }, + "else": { + "operation": "boost", + "score": -0.015065549872815609 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.00033552301465533674 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 959.0, + "then": { + "operation": "boost", + "score": 0.11384525150060654 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.005439027678221464 + }, + "else": { + "operation": "boost", + "score": 0.11834800243377686 + } + } + } + }, + "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": { + "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.13758306205272675 + }, + "else": { + "operation": "boost", + "score": 0.12562242150306702 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.20144622027873993 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.12795625627040863 + }, + "else": { + "operation": "boost", + "score": -0.2077450305223465 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04737427085638046 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.3161901533603668 + }, + "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 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.027137625962495804 + } + } + }, + "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, + "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": "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.050155412405729294 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1005437895655632 + }, + "else": { + "operation": "boost", + "score": 0.10507100075483322 + } + }, + "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": "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_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03676265850663185 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.04347556456923485 + }, + "else": { + "operation": "boost", + "score": 0.11370063573122025 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05043715983629227 + } + }, + "else": { + "operation": "boost", + "score": -0.4217767119407654 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.004923786967992783 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 532.0, + "then": { + "operation": "boost", + "score": -0.17884309589862823 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.0, + "then": { + "operation": "boost", + "score": 0.11892962455749512 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06385672092437744 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12349540740251541 + }, + "else": { + "operation": "boost", + "score": 0.04303642362356186 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.06151821091771126 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": -0.18582721054553986 + }, + "else": { + "operation": "boost", + "score": 0.07688581198453903 + } + }, + "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, + "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": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": 0.007550311740487814 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58073.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61054.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.12409976869821548 + }, + "else": { + "operation": "boost", + "score": -0.025487404316663742 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09054866433143616 + }, + "else": { + "operation": "boost", + "score": 0.059045519679784775 + } + } + }, + "else": { + "operation": "boost", + "score": 0.017503609880805016 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23608.0, + "then": { + "operation": "boost", + "score": 0.1308133900165558 + }, + "else": { + "operation": "boost", + "score": 0.03878900781273842 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20869.0, + "then": { + "operation": "boost", + "score": 0.01829609088599682 + }, + "else": { + "operation": "boost", + "score": 0.13344353437423706 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14993.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15290.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5454725027084351 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06186671182513237 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.061912901699543 + }, + "else": { + "operation": "boost", + "score": 0.10006166249513626 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.06730315089225769 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1256.0, + "then": { + "operation": "boost", + "score": 0.11340097337961197 + }, + "else": { + "operation": "boost", + "score": 0.0856877863407135 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5546.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, + "then": { + "operation": "boost", + "score": 0.07375402748584747 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1264.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1286.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1549.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1617.0, + "then": { + "operation": "boost", + "score": 0.015906400978565216 + }, + "else": { + "operation": "boost", + "score": 0.10192042589187622 + } + }, + "else": { + "operation": "boost", + "score": -0.2288787066936493 + } + }, + "else": { + "operation": "boost", + "score": 0.09542396664619446 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3702.0, + "then": { + "operation": "boost", + "score": 0.10559733957052231 + }, + "else": { + "operation": "boost", + "score": -0.05769644305109978 + } + }, + "else": { + "operation": "boost", + "score": -0.156685009598732 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09370268136262894 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10185828804969788 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 904.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016772113740444183 + }, + "else": { + "operation": "boost", + "score": -0.1504620909690857 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 846.0, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04712948948144913 + } + } + } + }, + "else": { + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.01951163075864315 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.08045655488967896 + }, + "else": { + "operation": "boost", + "score": 0.10826905071735382 + } + }, + "else": { + "operation": "boost", + "score": 0.06346709281206131 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.03628819063305855 + }, + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3287.0, + "then": { + "operation": "boost", + "score": -0.00636299466714263 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3262.0, + "then": { + "operation": "boost", + "score": 0.13023631274700165 + }, + "else": { + "operation": "boost", + "score": 0.05934516713023186 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69295.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101593.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 203783.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205835.5, + "then": { + "operation": "boost", + "score": 0.0018647834658622742 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.027857884764671326 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.09713467210531235 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06419887393712997 + }, + "else": { + "operation": "boost", + "score": 0.0135384825989604 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.024862296879291534 + }, + "else": { + "operation": "boost", + "score": -0.07498657703399658 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.039006661623716354 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93746.0, + "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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.04372253641486168 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.37734976410865784 + }, + "else": { + "operation": "boost", + "score": 0.10007984936237335 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1033349484205246 + }, + "else": { + "operation": "boost", + "score": 0.12425711750984192 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10771166533231735 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.02671220153570175 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.16863131523132324 + }, + "else": { + "operation": "boost", + "score": 0.08342897891998291 + } + } + }, + "else": { + "operation": "boost", + "score": -0.033959757536649704 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0905807688832283 + }, + "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 + }, + "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, + "then": { + "operation": "boost", + "score": 0.010756147094070911 + }, + "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 + } + }, + "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, + "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, + "then": { + "operation": "boost", + "score": -0.045039478689432144 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03035455197095871 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 358.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 371.0, + "then": { + "operation": "boost", + "score": 0.018766896799206734 + }, + "else": { + "operation": "boost", + "score": 0.0939035415649414 + } + }, + "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": 14.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.07366292178630829 + }, + "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, + "then": { + "operation": "boost", + "score": 0.008121971040964127 + }, + "else": { + "operation": "boost", + "score": 0.10873845219612122 + } + }, + "else": { + "operation": "boost", + "score": -0.08218426257371902 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.5, + "then": { + "operation": "boost", + "score": -0.10766152292490005 + }, + "else": { + "operation": "boost", + "score": -0.4619698226451874 + } + }, + "else": { + "operation": "boost", + "score": -0.05164545029401779 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74698.5, + "then": { + "operation": "boost", + "score": -0.0335104838013649 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 84.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "boost", + "score": 0.09802935272455215 + }, + "else": { + "operation": "boost", + "score": -0.14142927527427673 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1486208140850067 + }, + "else": { + "operation": "boost", + "score": -0.18517357110977173 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.0844145193696022 + }, + "else": { + "operation": "boost", + "score": -0.12517687678337097 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.16261419653892517 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.026181811466813087 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.028147893026471138 + }, + "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": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 179.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 285.0, + "then": { + "operation": "boost", + "score": -0.10216601938009262 + }, + "else": { + "operation": "boost", + "score": 0.09999983012676239 + } + }, + "else": { + "operation": "boost", + "score": 0.021975023671984673 + } + }, + "else": { + "operation": "boost", + "score": 0.10271887481212616 + } + }, + "else": { + "operation": "boost", + "score": 0.00924866832792759 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.031134843826293945 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.041491180658340454 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.27669933438301086 + }, + "else": { + "operation": "boost", + "score": 0.1011139377951622 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1076015830039978 + }, + "else": { + "operation": "boost", + "score": -0.12148267030715942 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.048905618488788605 + }, + "else": { + "operation": "boost", + "score": 0.11895722895860672 + } + }, + "else": { + "operation": "boost", + "score": -0.11592443287372589 + } + }, + "else": { + "operation": "boost", + "score": 0.12454100698232651 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.029705746099352837 + }, + "else": { + "operation": "boost", + "score": 0.08310409635305405 + } + }, + "else": { + "operation": "boost", + "score": 0.042744919657707214 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.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 + } + }, + "else": { + "operation": "boost", + "score": -0.03145183250308037 + } + }, + "else": { + "operation": "boost", + "score": 0.01950942724943161 + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.09344377368688583 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13638.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "boost", + "score": 0.04073541238903999 + }, + "else": { + "operation": "boost", + "score": -0.014446672052145004 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.020919792354106903 + } + } + }, + "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": 6952.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04436199739575386 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7021.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7761.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.01494123600423336 + }, + "else": { + "operation": "boost", + "score": 0.279999703168869 + } + }, + "else": { + "operation": "boost", + "score": -0.029032927006483078 + } + }, + "else": { + "operation": "boost", + "score": -0.28486010432243347 + } + }, + "else": { + "operation": "boost", + "score": 0.10562751442193985 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6678.0, + "then": { + "operation": "boost", + "score": -0.1260504275560379 + }, + "else": { + "operation": "boost", + "score": 0.0381167009472847 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.10412166267633438 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6320.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.13660021126270294 + }, + "else": { + "operation": "boost", + "score": 0.09836888313293457 + } + } + } + }, + "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.10876522958278656 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.1110144853591919 + }, + "else": { + "operation": "boost", + "score": 0.058589089661836624 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.11297262459993362 + }, + "else": { + "operation": "boost", + "score": 0.10649294406175613 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 279.0, + "then": { + "operation": "boost", + "score": 0.030931614339351654 + }, + "else": { + "operation": "boost", + "score": -0.207055002450943 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.1126909926533699 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 164.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1321.5, + "then": { + "operation": "boost", + "score": -0.21520443260669708 + }, + "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 + } + } + } + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0016072593862190843 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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 + } + }, + "else": { + "operation": "boost", + "score": -1.1467902660369873 + } + } + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.0, + "then": { + "operation": "boost", + "score": 0.030149448662996292 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": -0.49946892261505127 + }, + "else": { + "operation": "boost", + "score": -0.47239965200424194 + } + }, + "else": { + "operation": "boost", + "score": -0.19370681047439575 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.12646014988422394 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.11297186464071274 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.0, + "then": { + "operation": "boost", + "score": -0.01764877326786518 + }, + "else": { + "operation": "boost", + "score": 0.0867001935839653 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50015.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.06501128524541855 + }, + "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": 9.5, + "then": { + "operation": "boost", + "score": -0.1254785656929016 + }, + "else": { + "operation": "boost", + "score": -0.0809604674577713 + } + }, + "else": { + "operation": "boost", + "score": -0.10229412466287613 + } + }, + "else": { + "operation": "boost", + "score": -0.06586797535419464 + } + } + }, + "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", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0046997047029435635 + }, + "else": { + "operation": "boost", + "score": 0.10608164966106415 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12608852982521057 + }, + "else": { + "operation": "boost", + "score": -0.13924209773540497 + } + }, + "else": { + "operation": "boost", + "score": -0.04479822516441345 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03059389442205429 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.030132951214909554 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00679608341306448 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0036804559640586376 + } + }, + "else": { + "operation": "boost", + "score": -0.0003055570996366441 + } + }, + { + "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": "NumReferences", + "threshold": 10008.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.02705342136323452 + }, + "else": { + "operation": "boost", + "score": 0.07970311492681503 + } + }, + "else": { + "operation": "boost", + "score": 0.023432429879903793 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.0, + "then": { + "operation": "boost", + "score": 0.10239633172750473 + }, + "else": { + "operation": "boost", + "score": 0.05739728733897209 + } + }, + "else": { + "operation": "boost", + "score": -0.028937218710780144 + } + }, + "else": { + "operation": "boost", + "score": 0.01952183060348034 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86511.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220727.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245728.5, + "then": { + "operation": "boost", + "score": -0.19763410091400146 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11949323117733002 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1305496245622635 + }, + "else": { + "operation": "boost", + "score": 0.0837574303150177 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06192758306860924 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 95815.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10825064778327942 + }, + "else": { + "operation": "boost", + "score": 0.07996822148561478 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107411.0, + "then": { + "operation": "boost", + "score": -0.1459577977657318 + }, + "else": { + "operation": "boost", + "score": 0.05991469696164131 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.09666993468999863 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02366868406534195 + } + } + } + } + }, + "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 + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6390.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9948.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "boost", + "score": 0.025968734174966812 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09749346226453781 + }, + "else": { + "operation": "boost", + "score": -0.2998634874820709 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011393238790333271 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.1022614911198616 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6320.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6360.5, + "then": { + "operation": "boost", + "score": 0.1118398904800415 + }, + "else": { + "operation": "boost", + "score": -0.29621532559394836 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.13935811817646027 + }, + "else": { + "operation": "boost", + "score": 0.09630144387483597 + } + } + } + }, + "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.1080063208937645 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10785143077373505 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09357837587594986 + }, + "else": { + "operation": "boost", + "score": -0.01631932519376278 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10835090279579163 + }, + "else": { + "operation": "boost", + "score": 0.10548747330904007 + } + }, + "else": { + "operation": "boost", + "score": 0.10775251686573029 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04395349696278572 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.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 + } + }, + "else": { + "operation": "boost", + "score": 0.1221013143658638 + } + }, + "else": { + "operation": "boost", + "score": 0.011491993442177773 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015467580407857895 + }, + "else": { + "operation": "boost", + "score": -0.001218964345753193 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.11393846571445465 + }, + "else": { + "operation": "boost", + "score": 0.059938643127679825 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.011430942453444004 + }, + "else": { + "operation": "boost", + "score": 0.16695083677768707 + } + }, + "else": { + "operation": "boost", + "score": -0.09043589234352112 + } + }, + "else": { + "operation": "boost", + "score": 0.02155131660401821 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.030410161241889 + }, + "else": { + "operation": "boost", + "score": 0.0008418912766501307 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02437085285782814 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.015177788212895393 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85946.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.058659911155700684 + }, + "else": { + "operation": "boost", + "score": -0.07758548110723495 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07117387652397156 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.057157617062330246 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.14230811595916748 + }, + "else": { + "operation": "boost", + "score": 0.05654296651482582 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10152830928564072 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.1170177310705185 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0013862319756299257 + }, + "else": { + "operation": "boost", + "score": -0.050157804042100906 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.022355295717716217 + }, + "else": { + "operation": "boost", + "score": 0.0887729674577713 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.0013483174843713641 + }, + "else": { + "operation": "boost", + "score": -0.013825874775648117 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019787786528468132 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03632513806223869 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10305618494749069 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.01959913969039917 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02789400890469551 + } + }, + "else": { + "operation": "boost", + "score": 0.01754700392484665 + } + }, + "else": { + "operation": "boost", + "score": 0.004356091376394033 + } + } + } + } + } + } + }, + { + "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": 637.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, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.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 + } + } + }, + "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 + } + } + } + }, + "else": { + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9289.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9417.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.05151088908314705 + }, + "else": { + "operation": "boost", + "score": -0.17938470840454102 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10321129113435745 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1261.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1286.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1627.0, + "then": { + "operation": "boost", + "score": 0.0014818500494584441 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1542.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1570.0, + "then": { + "operation": "boost", + "score": 0.08239101618528366 + }, + "else": { + "operation": "boost", + "score": 0.10838575661182404 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0965418890118599 + } + }, + "else": { + "operation": "boost", + "score": -0.08285219222307205 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11378692090511322 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.2507333755493164 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10919100046157837 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 831.0, + "then": { + "operation": "boost", + "score": -0.30674269795417786 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 788.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.051420584321022034 + }, + "else": { + "operation": "boost", + "score": 0.09303037077188492 + } + }, + "else": { + "operation": "boost", + "score": -0.06287914514541626 + } + } + } + } + } + } + }, + "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": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.3266911506652832 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3399.0, + "then": { + "operation": "boost", + "score": 0.07701950520277023 + }, + "else": { + "operation": "boost", + "score": -0.21159955859184265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2945.5, + "then": { + "operation": "boost", + "score": 0.10718906670808792 + }, + "else": { + "operation": "boost", + "score": 0.03318905457854271 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.12867672741413116 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.12497935444116592 + }, + "else": { + "operation": "boost", + "score": 0.10925191640853882 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03450978547334671 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 717.5, + "then": { + "operation": "boost", + "score": 0.09498853236436844 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 705.5, + "then": { + "operation": "boost", + "score": -0.39091646671295166 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 679.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 693.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 696.5, + "then": { + "operation": "boost", + "score": 0.10678716003894806 + }, + "else": { + "operation": "boost", + "score": -0.1318546086549759 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10433074086904526 + }, + "else": { + "operation": "boost", + "score": 0.05254948139190674 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11441490799188614 + }, + "else": { + "operation": "boost", + "score": -0.22848299145698547 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.0, + "then": { + "operation": "boost", + "score": 0.02082883007824421 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.14068438112735748 + }, + "else": { + "operation": "boost", + "score": 0.520637571811676 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10539531707763672 + } + }, + "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": 9.5, + "then": { + "operation": "boost", + "score": 0.018330520018935204 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.0038000179920345545 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6955.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7543.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.0441000759601593 + }, + "else": { + "operation": "boost", + "score": 0.1076708436012268 + } + }, + "else": { + "operation": "boost", + "score": 0.03075428493320942 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.4200612008571625 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.13879632949829102 + }, + "else": { + "operation": "boost", + "score": 0.39958497881889343 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 651.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 823.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 829.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 851.5, + "then": { + "operation": "boost", + "score": -0.0032097199000418186 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1539064347743988 + }, + "else": { + "operation": "boost", + "score": 0.1310826987028122 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.14441968500614166 + }, + "else": { + "operation": "boost", + "score": -0.1320863664150238 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05607759952545166 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 628.5, + "then": { + "operation": "boost", + "score": 0.12095785140991211 + }, + "else": { + "operation": "boost", + "score": 0.018825875595211983 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.012934107333421707 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 676.5, + "then": { + "operation": "boost", + "score": 0.04369047284126282 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 668.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 623.5, + "then": { + "operation": "boost", + "score": -0.08030272275209427 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.021676549687981606 + }, + "else": { + "operation": "boost", + "score": 0.11282040178775787 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11111.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11169.0, + "then": { + "operation": "boost", + "score": -0.0813358947634697 + }, + "else": { + "operation": "boost", + "score": 0.11453336477279663 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0007334726979024708 + }, + "else": { + "operation": "boost", + "score": 0.04774154722690582 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1416889727115631 + } + }, + "else": { + "operation": "boost", + "score": 0.031128542497754097 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.04354768991470337 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97230.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 316302.0, + "then": { + "operation": "boost", + "score": -0.20771260559558868 + }, + "else": { + "operation": "boost", + "score": 0.09898403286933899 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14191369712352753 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10306351631879807 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104520.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.07866882532835007 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123460.5, + "then": { + "operation": "boost", + "score": 0.10309576988220215 + }, + "else": { + "operation": "boost", + "score": 0.07227473706007004 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06044474616646767 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.21196196973323822 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.08982517570257187 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.6214940547943115 + }, + "else": { + "operation": "boost", + "score": 0.17925730347633362 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004533450584858656 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21689.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11699428409337997 + }, + "else": { + "operation": "boost", + "score": 0.04217274859547615 + } + }, + "else": { + "operation": "boost", + "score": -0.003778905374929309 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10709362477064133 + }, + "else": { + "operation": "boost", + "score": 0.05634865537285805 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28247.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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10479921102523804 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.04990212246775627 + }, + "else": { + "operation": "boost", + "score": 0.08504924178123474 + } + }, + "else": { + "operation": "boost", + "score": -0.21279188990592957 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.07034572213888168 + }, + "else": { + "operation": "boost", + "score": 0.10294564068317413 + } + }, + "else": { + "operation": "boost", + "score": -0.6656209826469421 + } + }, + "else": { + "operation": "boost", + "score": 0.10979083925485611 + } + } + }, + "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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.11942605674266815 + }, + "else": { + "operation": "boost", + "score": -0.10102300345897675 + } + } + }, + "else": { + "operation": "boost", + "score": -2.5003294944763184 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05642668902873993 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15309.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": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10458208620548248 + }, + "else": { + "operation": "boost", + "score": 0.10688181966543198 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0004621115804184228 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13215315341949463 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17290.0, + "then": { + "operation": "boost", + "score": 0.10192275047302246 + }, + "else": { + "operation": "boost", + "score": 0.02612350881099701 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.056607455015182495 + } + }, + "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": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.13304179906845093 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17327.0, + "then": { + "operation": "boost", + "score": -0.11040933430194855 + }, + "else": { + "operation": "boost", + "score": 0.7032060623168945 + } + }, + "else": { + "operation": "boost", + "score": 0.13180741667747498 + } + }, + "else": { + "operation": "boost", + "score": 0.042036473751068115 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16587.5, + "then": { + "operation": "boost", + "score": -0.12781737744808197 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.4059918224811554 + }, + "else": { + "operation": "boost", + "score": -1.0627644062042236 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.009741608053445816 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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" + ], + "then": { + "operation": "boost", + "score": 0.10238831490278244 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13431.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13517.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13744.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10250403732061386 + }, + "else": { + "operation": "boost", + "score": 0.11767355352640152 + } + }, + "else": { + "operation": "boost", + "score": -0.12318062782287598 + } + }, + "else": { + "operation": "boost", + "score": 0.016482645645737648 + } + }, + "else": { + "operation": "boost", + "score": 0.2184523344039917 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10531942546367645 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.4318230152130127 + }, + "else": { + "operation": "boost", + "score": 0.10127828270196915 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0056409891694784164 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13627.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10615984350442886 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1565161943435669 + }, + "else": { + "operation": "boost", + "score": 0.20311953127384186 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12997.5, + "then": { + "operation": "boost", + "score": 0.057894494384527206 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.2911923825740814 + }, + "else": { + "operation": "boost", + "score": 0.11660943925380707 + } + }, + "else": { + "operation": "boost", + "score": 0.10870816558599472 + } + } + }, + "else": { + "operation": "boost", + "score": 0.041781291365623474 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.2672272026538849 + }, + "else": { + "operation": "boost", + "score": 0.1336187869310379 + } + }, + "else": { + "operation": "boost", + "score": -0.04633975401520729 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.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_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.13575465977191925 + }, + "else": { + "operation": "boost", + "score": -0.10144763439893723 + } + }, + "else": { + "operation": "boost", + "score": -0.250220388174057 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.25965380668640137 + }, + "else": { + "operation": "boost", + "score": -0.002451422857120633 + } + } + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.13796831667423248 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1631263941526413 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3300.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3370.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3451.0, + "then": { + "operation": "boost", + "score": 0.023703673854470253 + }, + "else": { + "operation": "boost", + "score": 0.13762837648391724 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68046.5, + "then": { + "operation": "boost", + "score": 0.021085303276777267 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 64123.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11555023491382599 + }, + "else": { + "operation": "boost", + "score": -0.3464064300060272 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0007583897677250206 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.15638890862464905 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.19596567749977112 + }, + "else": { + "operation": "boost", + "score": 0.6866133809089661 + } + }, + "else": { + "operation": "boost", + "score": -0.10739385336637497 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12142852693796158 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48488.5, + "then": { + "operation": "boost", + "score": 0.0006019832217134535 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24924.5, + "then": { + "operation": "boost", + "score": 0.018896428868174553 + }, + "else": { + "operation": "boost", + "score": 0.16361559927463531 + } + }, + "else": { + "operation": "boost", + "score": 0.040880654007196426 + } + }, + "else": { + "operation": "boost", + "score": 0.10901815444231033 + } + }, + "else": { + "operation": "boost", + "score": 0.03774653747677803 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06547042727470398 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2196.0, + "then": { + "operation": "boost", + "score": -0.13251037895679474 + }, + "else": { + "operation": "boost", + "score": 0.1129031553864479 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1883.5, + "then": { + "operation": "boost", + "score": -0.08492909371852875 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1558.5, + "then": { + "operation": "boost", + "score": 0.13727723062038422 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 656.5, + "then": { + "operation": "boost", + "score": 0.39055219292640686 + }, + "else": { + "operation": "boost", + "score": 0.5813815593719482 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03444124385714531 + } + }, + "else": { + "operation": "boost", + "score": -0.0008463745471090078 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1236.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4465.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4714.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.0005558482371270657 + }, + "else": { + "operation": "boost", + "score": 0.10590056329965591 + } + }, + "else": { + "operation": "boost", + "score": -0.23016665875911713 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1004.0, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.046999815851449966 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.006935701705515385 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5270.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7846.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23436.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27076.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110939.5, + "then": { + "operation": "boost", + "score": -0.504261314868927 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0 + }, + "else": { + "operation": "boost", + "score": 0.11190975457429886 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14712513983249664 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10949239134788513 + }, + "else": { + "operation": "boost", + "score": -0.32922399044036865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27933.5, + "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, + "then": { + "operation": "boost", + "score": -0.1691301017999649 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27933.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28960.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02716420404613018 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10014639049768448 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.16428697109222412 + }, + "else": { + "operation": "boost", + "score": 0.18472571671009064 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.012724652886390686 + } + } + } + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 7768.5, + "then": { + "operation": "boost", + "score": 0.26647794246673584 + }, + "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, + "then": { + "operation": "boost", + "score": 0.014643138274550438 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1536090224981308 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5424.0, + "then": { + "operation": "boost", + "score": 0.09751969575881958 + }, + "else": { + "operation": "boost", + "score": -0.17617292702198029 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.001589710358530283 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11417233198881149 + }, + "else": { + "operation": "boost", + "score": -0.19299176335334778 + } + } + }, + "else": { + "operation": "boost", + "score": 0.16605070233345032 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3748.5, + "then": { + "operation": "boost", + "score": -0.1005455031991005 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3229.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3251.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3467.5, + "then": { + "operation": "boost", + "score": 0.12697595357894897 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2060800939798355 + }, + "else": { + "operation": "boost", + "score": 0.2543462812900543 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.26142701506614685 + }, + "else": { + "operation": "boost", + "score": -0.3111126720905304 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10451114922761917 + } + }, + "else": { + "operation": "boost", + "score": 0.008899607695639133 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3680.5, + "then": { + "operation": "boost", + "score": 0.016938870772719383 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23436.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110939.5, + "then": { + "operation": "boost", + "score": -0.467532753944397 + }, + "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 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5914.0, + "then": { + "operation": "boost", + "score": 0.008225570432841778 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0012459064600989223 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.2681189179420471 + }, + "else": { + "operation": "boost", + "score": 0.09690286964178085 + } + } + }, + "else": { + "operation": "boost", + "score": 0.15176993608474731 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3602.5, + "then": { + "operation": "boost", + "score": -0.07571635395288467 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3229.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3251.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10387604683637619 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 791.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1985.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1999.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2053.5, + "then": { + "operation": "boost", + "score": -0.03784060478210449 + }, + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12189886718988419 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 784.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 790.0, + "then": { + "operation": "boost", + "score": 0.4250614643096924 + }, + "else": { + "operation": "boost", + "score": 0.12555144727230072 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07437866181135178 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022501140832901 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.027162160724401474 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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": 25.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09326443076133728 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.08950457721948624 + } + }, + "else": { + "operation": "boost", + "score": 0.020746547728776932 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.18217545747756958 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "then": { + "operation": "boost", + "score": 0.06909830123186111 + }, + "else": { + "operation": "boost", + "score": 0.21368339657783508 + } + }, + "else": { + "operation": "boost", + "score": -0.24268688261508942 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.06575966626405716 + } + }, + "else": { + "operation": "boost", + "score": 0.06422961503267288 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.02851620689034462 + }, + "else": { + "operation": "boost", + "score": -0.08378429710865021 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 183.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 313.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01009900402277708 + } + }, + "else": { + "operation": "boost", + "score": -0.03574861213564873 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.4401097595691681 + }, + "else": { + "operation": "boost", + "score": 0.11638569086790085 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190.5, + "then": { + "operation": "boost", + "score": -0.13320064544677734 + }, + "else": { + "operation": "boost", + "score": 0.09513840824365616 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.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, + "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.11822052299976349 + }, + "else": { + "operation": "boost", + "score": -0.04339022934436798 + } + }, + "else": { + "operation": "boost", + "score": -0.0248954426497221 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0008138846606016159 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": 0.115028515458107 + }, + "else": { + "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.3719606399536133 + }, + "else": { + "operation": "boost", + "score": 0.10963043570518494 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.033130161464214325 + }, + "else": { + "operation": "boost", + "score": 0.10671307146549225 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03256366774439812 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0002851601457223296 + } + } + }, + { + "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": [ + "FunctionScope" + ], + "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, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20397739112377167 + }, + "else": { + "operation": "boost", + "score": 0.0035915509797632694 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011921263299882412 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.012269427999854088 + }, + "else": { + "operation": "boost", + "score": -0.06993799656629562 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004491494502872229 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28.5, + "then": { + "operation": "boost", + "score": 0.10221873223781586 + }, + "else": { + "operation": "boost", + "score": -0.13205869495868683 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "boost", + "score": 0.0595400296151638 + }, + "else": { + "operation": "boost", + "score": -0.2719399034976959 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0939820408821106 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.0, + "then": { + "operation": "boost", + "score": 0.026747122406959534 + }, + "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, + "then": { + "operation": "boost", + "score": 0.0 + }, + "else": { + "operation": "boost", + "score": -0.1668461263179779 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.10019222646951675 + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.2981996536254883 + }, + "else": { + "operation": "boost", + "score": 0.09724166244268417 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.09070038050413132 + }, + "else": { + "operation": "boost", + "score": 0.008765507489442825 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.039247896522283554 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.02370823547244072 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.22064387798309326 + }, + "else": { + "operation": "boost", + "score": 0.144241064786911 + } + }, + "else": { + "operation": "boost", + "score": -0.14226515591144562 + } + }, + "else": { + "operation": "boost", + "score": 0.04249763861298561 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.009257287718355656 + }, + "else": { + "operation": "boost", + "score": -0.02382221817970276 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "boost", + "score": 0.10730299353599548 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03701980039477348 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10999222844839096 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.20198221504688263 + }, + "else": { + "operation": "boost", + "score": 0.12373148649930954 + } + } + }, + "else": { + "operation": "boost", + "score": -0.15818016231060028 + } + }, + "else": { + "operation": "boost", + "score": 0.12558752298355103 + } + }, + "else": { + "operation": "boost", + "score": 0.05233591049909592 + } + } + }, + "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 + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07918576151132584 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.02029781974852085 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08452139794826508 + }, + "else": { + "operation": "boost", + "score": 0.031813666224479675 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "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": "boost", + "score": 0.12441693991422653 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.10242436826229095 + }, + "else": { + "operation": "boost", + "score": 0.10403764247894287 + } + }, + "else": { + "operation": "boost", + "score": 0.15132175385951996 + } + } + }, + "else": { + "operation": "boost", + "score": -0.009381074458360672 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1081576943397522 + }, + "else": { + "operation": "boost", + "score": 0.03651281073689461 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.180179163813591 + }, + "else": { + "operation": "boost", + "score": -0.030207298696041107 + } + }, + "else": { + "operation": "boost", + "score": -0.11928237974643707 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1121.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1147.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0369420126080513 + }, + "else": { + "operation": "boost", + "score": -0.08730511367321014 + } + }, + "else": { + "operation": "boost", + "score": 0.026274967938661575 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10208392143249512 + }, + "else": { + "operation": "boost", + "score": -0.13011950254440308 + } + } + }, + "else": { + "operation": "boost", + "score": -0.044989392161369324 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011206553317606449 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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": 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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.023809371516108513 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07643424719572067 + }, + "else": { + "operation": "boost", + "score": -0.1186104565858841 + } + }, + "else": { + "operation": "boost", + "score": 0.018007563427090645 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.11804673820734024 + }, + "else": { + "operation": "boost", + "score": 0.00919845886528492 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.31625956296920776 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.23842798173427582 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.08984503895044327 + }, + "else": { + "operation": "boost", + "score": 0.09045679867267609 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.09482477605342865 + }, + "else": { + "operation": "boost", + "score": 0.11014582961797714 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.026059670373797417 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.10206754505634308 + }, + "else": { + "operation": "boost", + "score": 0.12913960218429565 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.12397327274084091 + } + } + }, + "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": { + "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": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.11759953945875168 + }, + "else": { + "operation": "boost", + "score": 0.026804346591234207 + } + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11917372792959213 + } + }, + "else": { + "operation": "boost", + "score": -0.025413360446691513 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": 0.10710836946964264 + }, + "else": { + "operation": "boost", + "score": 0.10510117560625076 + } + }, + "else": { + "operation": "boost", + "score": -0.11191291362047195 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.07176589220762253 + }, + "else": { + "operation": "boost", + "score": -0.40283986926078796 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06371457874774933 + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11341650038957596 + }, + "else": { + "operation": "boost", + "score": 0.0937749370932579 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.16247187554836273 + }, + "else": { + "operation": "boost", + "score": 0.45203715562820435 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03820246830582619 + }, + "else": { + "operation": "boost", + "score": 0.1393316388130188 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "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 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10134541988372803 + }, + "else": { + "operation": "boost", + "score": 0.2970340847969055 + } + }, + "else": { + "operation": "boost", + "score": 0.01935604400932789 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08642228692770004 + }, + "else": { + "operation": "boost", + "score": 0.16650670766830444 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10106546431779861 + } + }, + "else": { + "operation": "boost", + "score": -0.14398951828479767 + } + }, + "else": { + "operation": "boost", + "score": -0.00696435896679759 + } + } + }, + "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 + } + } + }, + "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_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 457.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.2213030308485031 + }, + "else": { + "operation": "boost", + "score": 0.09344213455915451 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.007204522378742695 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": 0.10173818469047546 + }, + "else": { + "operation": "boost", + "score": 0.07752502709627151 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.050747182220220566 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.009634873829782009 + }, + "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.03941325098276138 + }, + "else": { + "operation": "boost", + "score": 0.17093244194984436 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "boost", + "score": 0.10716651380062103 + }, + "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": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "boost", + "score": -0.1289253979921341 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10082.5, + "then": { + "operation": "boost", + "score": 0.09251882135868073 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.04807192459702492 + }, + "else": { + "operation": "boost", + "score": -0.23089097440242767 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "boost", + "score": -0.31355756521224976 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 805.0, + "then": { + "operation": "boost", + "score": 0.10638970136642456 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.5, + "then": { + "operation": "boost", + "score": -0.22348652780056 + }, + "else": { + "operation": "boost", + "score": 0.10778757184743881 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.013898025266826153 + }, + "else": { + "operation": "boost", + "score": -0.040428582578897476 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.438109427690506 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10853514820337296 + }, + "else": { + "operation": "boost", + "score": 0.03561649098992348 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 237.5, + "then": { + "operation": "boost", + "score": -0.04364214837551117 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 225.0, + "then": { + "operation": "boost", + "score": 0.15189480781555176 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.0, + "then": { + "operation": "boost", + "score": 0.09831221401691437 + }, + "else": { + "operation": "boost", + "score": 0.12803353369235992 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10893560200929642 + }, + "else": { + "operation": "boost", + "score": 0.3635178506374359 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05633770301938057 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.12467789649963379 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.0, + "then": { + "operation": "boost", + "score": -0.01114106085151434 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.16274206340312958 + }, + "else": { + "operation": "boost", + "score": 0.10459145903587341 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03470184653997421 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13380692899227142 + }, + "else": { + "operation": "boost", + "score": -0.10061303526163101 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 293.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 583.0, + "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, + "then": { + "operation": "boost", + "score": 0.05018443241715431 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.1312793344259262 + }, + "else": { + "operation": "boost", + "score": 0.12670545279979706 + } + }, + "else": { + "operation": "boost", + "score": -0.10082725435495377 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.06911454349756241 + }, + "else": { + "operation": "boost", + "score": 0.10091529041528702 + } + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.13386280834674835 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10945630073547363 + }, + "else": { + "operation": "boost", + "score": 0.07687199860811234 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.06630004942417145 + }, + "else": { + "operation": "boost", + "score": 0.12949836254119873 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.16054031252861023 + }, + "else": { + "operation": "boost", + "score": -0.016930775716900826 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10561353713274002 + }, + "else": { + "operation": "boost", + "score": 0.14960545301437378 + } + }, + "else": { + "operation": "boost", + "score": -0.1129685565829277 + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.004622340202331543 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443558.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "boost", + "score": 0.014603941701352596 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.032042231410741806 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 659.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27076.0, + "then": { + "operation": "boost", + "score": -0.19141879677772522 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23786.0, + "then": { + "operation": "boost", + "score": 0.12280932068824768 + }, + "else": { + "operation": "boost", + "score": 0.011833563446998596 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5905.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6473.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5984.5, + "then": { + "operation": "boost", + "score": 0.11331149935722351 + }, + "else": { + "operation": "boost", + "score": 0.09917902201414108 + } + } + }, + "else": { + "operation": "boost", + "score": 0.005724024027585983 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.05840613692998886 + }, + "else": { + "operation": "boost", + "score": 0.10244454443454742 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47.5, + "then": { + "operation": "boost", + "score": -0.03437817841768265 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 42.5, + "then": { + "operation": "boost", + "score": 0.12662652134895325 + }, + "else": { + "operation": "boost", + "score": -0.10142473131418228 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008543584495782852 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11992812156677246 + }, + "else": { + "operation": "boost", + "score": 0.11715982109308243 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": -0.029845407232642174 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": 0.14854589104652405 + }, + "else": { + "operation": "boost", + "score": 0.018210269510746002 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4320.5, + "then": { + "operation": "boost", + "score": 0.11601303517818451 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.021283911541104317 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.14092013239860535 + }, + "else": { + "operation": "boost", + "score": 0.09909325838088989 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "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.13085080683231354 + }, + "else": { + "operation": "boost", + "score": 0.06290188431739807 + } + }, + "else": { + "operation": "boost", + "score": -0.41365277767181396 + } + }, + "else": { + "operation": "boost", + "score": 0.030175555497407913 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02368094213306904 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.0961594209074974 + }, + "else": { + "operation": "boost", + "score": 0.062010399997234344 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11367115378379822 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.9814607501029968 + }, + "else": { + "operation": "boost", + "score": -0.051896072924137115 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.07952970266342163 + }, + "else": { + "operation": "boost", + "score": 0.01429737824946642 + } + }, + "else": { + "operation": "boost", + "score": -0.11612062156200409 + } + }, + "else": { + "operation": "boost", + "score": -0.021825125440955162 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.013484401628375053 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.06627185642719269 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.05616952106356621 + }, + "else": { + "operation": "boost", + "score": 0.11302878707647324 + } + }, + "else": { + "operation": "boost", + "score": 0.003628367558121681 + } + }, + "else": { + "operation": "boost", + "score": 0.00801760982722044 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "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" + ], + "then": { + "operation": "boost", + "score": -0.05475650355219841 + }, + "else": { + "operation": "boost", + "score": -9.027338981628418 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.6117025017738342 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0740903913974762 + }, + "else": { + "operation": "boost", + "score": 0.08783509582281113 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.10305444896221161 + }, + "else": { + "operation": "boost", + "score": 0.13564662635326385 + } + }, + "else": { + "operation": "boost", + "score": -0.06892727315425873 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.006177007686346769 + }, + "else": { + "operation": "boost", + "score": 0.0432213693857193 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0014517268864437938 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07303857803344727 + }, + "else": { + "operation": "boost", + "score": -0.002366969594731927 + } + }, + "else": { + "operation": "boost", + "score": 0.013701794669032097 + } + } + } + }, + "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_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "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": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1069231778383255 + }, + "else": { + "operation": "boost", + "score": 1.3907456398010254 + } + }, + "else": { + "operation": "boost", + "score": -0.10310924053192139 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01471406314522028 + }, + "else": { + "operation": "boost", + "score": -0.04278838261961937 + } + }, + "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 + } + } + } + }, + "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 + } + } + }, + "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": "boost", + "score": 0.0036619335878640413 + }, + "else": { + "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, + "then": { + "operation": "boost", + "score": 0.11124775558710098 + }, + "else": { + "operation": "boost", + "score": 0.1238773912191391 + } + }, + "else": { + "operation": "boost", + "score": 0.08253814280033112 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10773136466741562 + }, + "else": { + "operation": "boost", + "score": -0.03518981486558914 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1899416595697403 + }, + "else": { + "operation": "boost", + "score": 0.0494857020676136 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.002597351325675845 + }, + "else": { + "operation": "boost", + "score": -0.006533851847052574 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011106623336672783 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0023922568652778864 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06074870377779007 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.24623079597949982 + }, + "else": { + "operation": "boost", + "score": 0.143074631690979 + } + }, + "else": { + "operation": "boost", + "score": 0.8988636136054993 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13001345098018646 + } + }, + "else": { + "operation": "boost", + "score": -0.0831250473856926 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1584652215242386 + }, + "else": { + "operation": "boost", + "score": -0.07077977061271667 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0913960188627243 + }, + "else": { + "operation": "boost", + "score": 0.031644467264413834 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0006624541128985584 + } + }, + { + "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_UnionTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0026886058039963245 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0065157064236700535 + }, + "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": 4.5, + "then": { + "operation": "boost", + "score": 0.015767902135849 + }, + "else": { + "operation": "boost", + "score": 0.07540595531463623 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 267.5, + "then": { + "operation": "boost", + "score": -0.1384878009557724 + }, + "else": { + "operation": "boost", + "score": 0.1002967432141304 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.14751534163951874 + }, + "else": { + "operation": "boost", + "score": 0.06358753144741058 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.1103019043803215 + }, + "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 + } + } + } + } + } + }, + "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": 43.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.007776371203362942 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "boost", + "score": 0.04065117612481117 + }, + "else": { + "operation": "boost", + "score": -0.8247279524803162 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "boost", + "score": 0.062203921377658844 + }, + "else": { + "operation": "boost", + "score": 0.10268248617649078 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09980235248804092 + }, + "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, + "then": { + "operation": "boost", + "score": 0.10026843845844269 + }, + "else": { + "operation": "boost", + "score": -0.07387662678956985 + } + }, + "else": { + "operation": "boost", + "score": -0.17808057367801666 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.15063545107841492 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.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.08742573112249374 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.30334222316741943 + }, + "else": { + "operation": "boost", + "score": -0.9144870042800903 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03662513568997383 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.060525842010974884 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11043684184551239 + }, + "else": { + "operation": "boost", + "score": -0.1186300739645958 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04848076030611992 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0007890869164839387 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.020394891500473022 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "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, + "then": { + "operation": "boost", + "score": 0.09592451900243759 + }, + "else": { + "operation": "boost", + "score": -0.15792855620384216 + } + } + } + } + } + }, + "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_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.027311034500598907 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.006129967514425516 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0013580998638644814 + } + }, + "else": { + "operation": "boost", + "score": -0.005438691005110741 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "boost", + "score": 0.1360863745212555 + }, + "else": { + "operation": "boost", + "score": -0.12204200774431229 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32709.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "boost", + "score": 0.009610038250684738 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.13524121046066284 + }, + "else": { + "operation": "boost", + "score": 0.02403014712035656 + } + } + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.19896964728832245 + }, + "else": { + "operation": "boost", + "score": 0.140606090426445 + } + }, + "else": { + "operation": "boost", + "score": 0.058489300310611725 + } + }, + "else": { + "operation": "boost", + "score": -0.021528154611587524 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01651824079453945 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13779117166996002 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.0655820220708847 + }, + "else": { + "operation": "boost", + "score": 0.09798911213874817 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -1.306138277053833 + }, + "else": { + "operation": "boost", + "score": 0.11170602589845657 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06475026160478592 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.002199157141149044 + } + }, + "else": { + "operation": "boost", + "score": -0.0007692964281886816 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01617545448243618 + }, + "else": { + "operation": "boost", + "score": -0.007414895575493574 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0013368235668167472 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.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, + "then": { + "operation": "boost", + "score": 0.11856988072395325 + }, + "else": { + "operation": "boost", + "score": 0.07818601280450821 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.022891899570822716 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.13578131794929504 + }, + "else": { + "operation": "boost", + "score": 0.07949010282754898 + } + } + }, + "else": { + "operation": "boost", + "score": -0.6340261697769165 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03817535936832428 + } + }, + "else": { + "operation": "boost", + "score": 0.0464051216840744 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 17.5, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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, + "then": { + "operation": "boost", + "score": 0.04550551995635033 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 542.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08653482794761658 + }, + "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, + "then": { + "operation": "boost", + "score": 0.034339793026447296 + }, + "else": { + "operation": "boost", + "score": 0.09726070612668991 + } + }, + "else": { + "operation": "boost", + "score": -0.1538286954164505 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006461859680712223 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 531.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 585.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 722.5, + "then": { + "operation": "boost", + "score": -0.18662424385547638 + }, + "else": { + "operation": "boost", + "score": 0.08476843684911728 + } + }, + "else": { + "operation": "boost", + "score": -0.5228885412216187 + } + }, + "else": { + "operation": "boost", + "score": 0.10244359076023102 + } + }, + "else": { + "operation": "boost", + "score": 0.010998183861374855 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.5, + "then": { + "operation": "boost", + "score": -0.08916517347097397 + }, + "else": { + "operation": "boost", + "score": 0.09961935877799988 + } + }, + "else": { + "operation": "boost", + "score": -0.15798267722129822 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.16636553406715393 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148.5, + "then": { + "operation": "boost", + "score": 0.09784101694822311 + }, + "else": { + "operation": "boost", + "score": -0.21574093401432037 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 146.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3680.5, + "then": { + "operation": "boost", + "score": 0.01596929132938385 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.14102497696876526 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.010219885036349297 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 8.244904165621847e-06 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.12408505380153656 + }, + "else": { + "operation": "boost", + "score": 0.11884467303752899 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.19358345866203308 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.19451631605625153 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0671473890542984 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6150.0, + "then": { + "operation": "boost", + "score": 0.10408563911914825 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3716.5, + "then": { + "operation": "boost", + "score": -0.14953014254570007 + }, + "else": { + "operation": "boost", + "score": 0.10349664837121964 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.050167519599199295 + }, + "else": { + "operation": "boost", + "score": -0.10803019255399704 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 182.5, + "then": { + "operation": "boost", + "score": 0.12390213459730148 + }, + "else": { + "operation": "boost", + "score": -0.11417917907238007 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 503.0, + "then": { + "operation": "boost", + "score": -0.03830929100513458 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 308.0, + "then": { + "operation": "boost", + "score": 0.10242877900600433 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 217.5, + "then": { + "operation": "boost", + "score": -0.2540508508682251 + }, + "else": { + "operation": "boost", + "score": 0.09748692065477371 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.03145479038357735 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.5, + "then": { + "operation": "boost", + "score": 0.019083892926573753 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09893086552619934 + }, + "else": { + "operation": "boost", + "score": 0.11115077137947083 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -1.5001015663146973 + } + }, + "else": { + "operation": "boost", + "score": -0.10850758105516434 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1225314661860466 + }, + "else": { + "operation": "boost", + "score": 0.15923869609832764 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -1.1699150800704956 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 157.0, + "then": { + "operation": "boost", + "score": -0.09996650367975235 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.5, + "then": { + "operation": "boost", + "score": 0.12431775033473969 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.07553008943796158 + }, + "else": { + "operation": "boost", + "score": -0.18522121012210846 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 164.5, + "then": { + "operation": "boost", + "score": -2.3765530586242676 + }, + "else": { + "operation": "boost", + "score": 0.01782161369919777 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3003700077533722 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 162.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.14436572790145874 + }, + "else": { + "operation": "boost", + "score": 0.157717764377594 + } + }, + "else": { + "operation": "boost", + "score": 0.05311787128448486 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1165594756603241 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12882794439792633 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10010753571987152 + }, + "else": { + "operation": "boost", + "score": 0.11265120655298233 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.19954878091812134 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1289433389902115 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11023097485303879 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 498.5, + "then": { + "operation": "boost", + "score": -0.27843108773231506 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 271.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 332.5, + "then": { + "operation": "boost", + "score": 0.4136451482772827 + }, + "else": { + "operation": "boost", + "score": 0.1955908238887787 + } + }, + "else": { + "operation": "boost", + "score": 0.5831213593482971 + } + } + }, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07954125851392746 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08616674691438675 + }, + "else": { + "operation": "boost", + "score": -0.10075382143259048 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09765032678842545 + }, + "else": { + "operation": "boost", + "score": 0.0945926159620285 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10359412431716919 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.01683840900659561 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 209.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.007793319411575794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 408.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 793.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1903.0, + "then": { + "operation": "boost", + "score": 0.018538521602749825 + }, + "else": { + "operation": "boost", + "score": 0.10026346892118454 + } + }, + "else": { + "operation": "boost", + "score": -0.14502102136611938 + } + }, + "else": { + "operation": "boost", + "score": 0.10965323448181152 + } + }, + "else": { + "operation": "boost", + "score": -0.030789310112595558 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3506630063056946 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.5534853339195251 + }, + "else": { + "operation": "boost", + "score": 0.1116061806678772 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 186.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.5, + "then": { + "operation": "boost", + "score": -0.29827573895454407 + }, + "else": { + "operation": "boost", + "score": 0.09727892279624939 + } + }, + "else": { + "operation": "boost", + "score": 0.11285123229026794 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04292471334338188 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.021921848878264427 + }, + "else": { + "operation": "boost", + "score": 0.15350989997386932 + } + }, + "else": { + "operation": "boost", + "score": -0.08151321858167648 + } + }, + "else": { + "operation": "boost", + "score": 0.021797027438879013 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.027730314061045647 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1050487533211708 + }, + "else": { + "operation": "boost", + "score": 0.03309241309762001 + } + }, + "else": { + "operation": "boost", + "score": -0.0036536231637001038 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159753.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07645109295845032 + }, + "else": { + "operation": "boost", + "score": 0.037544842809438705 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.030352506786584854 + }, + "else": { + "operation": "boost", + "score": 0.04609174653887749 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022029217332601547 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.016566473990678787 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85946.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.32260146737098694 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.108163021504879 + }, + "else": { + "operation": "boost", + "score": 0.04824680835008621 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05309305712580681 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06373075395822525 + }, + "else": { + "operation": "boost", + "score": 0.10502868890762329 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72744.5, + "then": { + "operation": "boost", + "score": 0.057470936328172684 + }, + "else": { + "operation": "boost", + "score": 0.04775302857160568 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.10742686688899994 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.0325215607881546 + }, + "else": { + "operation": "boost", + "score": 0.015357174910604954 + } + } + }, + "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": "boost", + "score": 0.07663431018590927 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.02767247147858143 + }, + "else": { + "operation": "boost", + "score": 0.12056218087673187 + } + }, + "else": { + "operation": "boost", + "score": 0.061673372983932495 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1418878138065338 + }, + "else": { + "operation": "boost", + "score": 0.0667756125330925 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020693983882665634 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.13756196200847626 + }, + "else": { + "operation": "boost", + "score": 0.03359142690896988 + } + } + } + } + } + } + }, + "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_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011268675327301025 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.055317576974630356 + }, + "else": { + "operation": "boost", + "score": 0.16812783479690552 + } + } + }, + "else": { + "operation": "boost", + "score": -0.015022228471934795 + } + }, + "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_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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.004807885270565748 + }, + "else": { + "operation": "boost", + "score": -0.01743244379758835 + } + } + }, + "else": { + "operation": "boost", + "score": -0.006304871290922165 + } + } + }, + "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 + } + } + } + } + }, + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.012692549265921116 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012169278226792812 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1021411269903183 + }, + "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": "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 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018777642399072647 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10202217847108841 + }, + "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 + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11188481003046036 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005941247101873159 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.018929339945316315 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0866822898387909 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.1597154587507248 + }, + "else": { + "operation": "boost", + "score": 0.04161675274372101 + } + } + } + } + } + }, + "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 + } + }, + "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, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.03536834195256233 + }, + "else": { + "operation": "boost", + "score": -0.33320072293281555 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.22309866547584534 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.002911757444962859 + }, + "else": { + "operation": "boost", + "score": -0.1402530074119568 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.04642566293478012 + }, + "else": { + "operation": "boost", + "score": 0.0850069597363472 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02414952963590622 + }, + "else": { + "operation": "boost", + "score": -0.06307366490364075 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.024377016350626945 + } + } + }, + "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 + } + } + } + } + } + } + } + }, + { + "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.002851247787475586 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 347.5, + "then": { + "operation": "boost", + "score": 0.09795280545949936 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.12921904027462006 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 270.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 324.5, + "then": { + "operation": "boost", + "score": -0.23979277908802032 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 280.5, + "then": { + "operation": "boost", + "score": 0.1359618902206421 + }, + "else": { + "operation": "boost", + "score": -0.10393854230642319 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13466770946979523 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.1283680498600006 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08329565078020096 + }, + "else": { + "operation": "boost", + "score": -0.07156103849411011 + } + }, + "else": { + "operation": "boost", + "score": 0.1137135773897171 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136.0, + "then": { + "operation": "boost", + "score": 0.024213537573814392 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 79.0, + "then": { + "operation": "boost", + "score": -0.26634523272514343 + }, + "else": { + "operation": "boost", + "score": 0.017287572845816612 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.2853240370750427 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09627428650856018 + }, + "else": { + "operation": "boost", + "score": 0.1136745736002922 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.032056476920843124 + }, + "else": { + "operation": "boost", + "score": 0.06575483828783035 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": -0.024357063695788383 + }, + "else": { + "operation": "boost", + "score": 0.10122755169868469 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.1610245257616043 + }, + "else": { + "operation": "boost", + "score": 0.08513635396957397 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00678001856431365 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.024371081963181496 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "boost", + "score": -0.15911193192005157 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.11399073153734207 + }, + "else": { + "operation": "boost", + "score": 0.11109279841184616 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": -0.051240887492895126 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.17168636620044708 + }, + "else": { + "operation": "boost", + "score": 0.14049747586250305 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01599927619099617 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.0924823209643364 + }, + "else": { + "operation": "boost", + "score": 0.10417758673429489 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020681731402873993 + } + }, + "else": { + "operation": "boost", + "score": -0.057160671800374985 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.035664159804582596 + }, + "else": { + "operation": "boost", + "score": 0.08115740865468979 + } + }, + "else": { + "operation": "boost", + "score": -0.013586352579295635 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.23769111931324005 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148760.5, + "then": { + "operation": "boost", + "score": -0.15486428141593933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97848.0, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10164317488670349 + }, + "else": { + "operation": "boost", + "score": 0.1040199026465416 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.025405848398804665 + }, + "else": { + "operation": "boost", + "score": 0.09587594866752625 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73593.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43288.5, + "then": { + "operation": "boost", + "score": 0.008656409569084644 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10796269029378891 + }, + "else": { + "operation": "boost", + "score": 0.10812323540449142 + } + } + }, + "else": { + "operation": "boost", + "score": -0.046119317412376404 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.01193167082965374 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24776.0, + "then": { + "operation": "boost", + "score": 0.10051172971725464 + }, + "else": { + "operation": "boost", + "score": 0.10413903743028641 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0029800196643918753 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0798448920249939 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.010285921394824982 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02798815816640854 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.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": 126.5, + "then": { + "operation": "boost", + "score": 0.0403740219771862 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.0, + "then": { + "operation": "boost", + "score": 0.10366760939359665 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.8001583218574524 + } + }, + "else": { + "operation": "boost", + "score": -0.06289856135845184 + } + }, + "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": "NumReferences", + "threshold": 177.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 189.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.12785720825195312 + }, + "else": { + "operation": "boost", + "score": 0.10090173780918121 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 162.5, + "then": { + "operation": "boost", + "score": -0.5056685209274292 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.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 + } + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04468013346195221 + }, + "else": { + "operation": "boost", + "score": -0.1276027113199234 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.08901982009410858 + }, + "else": { + "operation": "boost", + "score": -0.010190151631832123 + } + } + } + } + }, + "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", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06170613691210747 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11803433299064636 + }, + "else": { + "operation": "boost", + "score": -0.12612761557102203 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135000.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.0649544969201088 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.11140987277030945 + }, + "else": { + "operation": "boost", + "score": -0.17394816875457764 + } + } + }, + "else": { + "operation": "boost", + "score": 0.055516768246889114 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.042564671486616135 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.005067338701337576 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11253.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.05341566354036331 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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" + ], + "then": { + "operation": "boost", + "score": 0.010977262631058693 + }, + "else": { + "operation": "boost", + "score": 0.0012318540830165148 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0014304250944405794 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.023786619305610657 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.02194320037961006 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0050813546404242516 + } + }, + "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": "boost", + "score": 0.003915802109986544 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004725855775177479 + }, + "else": { + "operation": "boost", + "score": -0.004472372587770224 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.021923784166574478 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.011672810651361942 + }, + "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_Namespace", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": -0.14403274655342102 + }, + "else": { + "operation": "boost", + "score": 0.11348222196102142 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02903483808040619 + } + }, + "else": { + "operation": "boost", + "score": -0.00912529043853283 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.09091847389936447 + }, + "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 + }, + "else": { + "operation": "boost", + "score": 0.12036526948213577 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13050895929336548 + }, + "else": { + "operation": "boost", + "score": -0.012690138071775436 + } + }, + "else": { + "operation": "boost", + "score": 0.07552405446767807 + } + }, + "else": { + "operation": "boost", + "score": -0.0268612839281559 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10872974991798401 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.036854322999715805 + }, + "else": { + "operation": "boost", + "score": -0.399044007062912 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0267637949436903 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.06545454263687134 + }, + "else": { + "operation": "boost", + "score": 0.12754389643669128 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.2711474597454071 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.07360467314720154 + }, + "else": { + "operation": "boost", + "score": 0.09847047179937363 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.051112812012434006 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07550620287656784 + }, + "else": { + "operation": "boost", + "score": -0.12500058114528656 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03654402494430542 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.046315502375364304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": -0.3165161609649658 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "boost", + "score": -0.07910729944705963 + }, + "else": { + "operation": "boost", + "score": 0.14282916486263275 + } + }, + "else": { + "operation": "boost", + "score": 0.03520480543375015 + } + }, + "else": { + "operation": "boost", + "score": -0.02181856893002987 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.0, + "then": { + "operation": "boost", + "score": 0.08733208477497101 + }, + "else": { + "operation": "boost", + "score": 0.1081179529428482 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.022386962547898293 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11559045314788818 + }, + "else": { + "operation": "boost", + "score": -0.4331100881099701 + } + } + } + } + } + }, + "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": "boost", + "score": 0.007675262168049812 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "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, + "then": { + "operation": "boost", + "score": -0.4529580771923065 + }, + "else": { + "operation": "boost", + "score": -0.18816359341144562 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.0034984874073415995 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1216275542974472 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08769697695970535 + }, + "else": { + "operation": "boost", + "score": 0.13985948264598846 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.3457450866699219 + }, + "else": { + "operation": "boost", + "score": -0.1096489280462265 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.020210715010762215 + } + } + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 648.5, + "then": { + "operation": "boost", + "score": -0.47127005457878113 + }, + "else": { + "operation": "boost", + "score": 0.11232654750347137 + } + }, + "else": { + "operation": "boost", + "score": -0.08738339692354202 + } + }, + "else": { + "operation": "boost", + "score": -0.3473323583602905 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.0, + "then": { + "operation": "boost", + "score": 0.11623091995716095 + }, + "else": { + "operation": "boost", + "score": 0.08661381900310516 + } + } + }, + "else": { + "operation": "boost", + "score": -0.005967521108686924 + } + }, + "else": { + "operation": "boost", + "score": 0.02536119893193245 + } + }, + "else": { + "operation": "boost", + "score": -0.01664324663579464 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0042327088303864 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 857.0, + "then": { + "operation": "boost", + "score": 0.03080209530889988 + }, + "else": { + "operation": "boost", + "score": 0.10121161490678787 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.00923535879701376 + }, + "else": { + "operation": "boost", + "score": -0.0481700673699379 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Keyword", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34237.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86164.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1446620374917984 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11985905468463898 + }, + "else": { + "operation": "boost", + "score": 0.09025048464536667 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02564786933362484 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24900.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.01996864564716816 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.1641673594713211 + }, + "else": { + "operation": "boost", + "score": 0.09660464525222778 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.8247247338294983 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0876411721110344 + }, + "else": { + "operation": "boost", + "score": 0.11414441466331482 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.006390985567122698 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.049130529165267944 + }, + "else": { + "operation": "boost", + "score": 0.12227535992860794 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01061039138585329 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 347.5, + "then": { + "operation": "boost", + "score": 0.08485976606607437 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.12329583615064621 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.09328070282936096 + }, + "else": { + "operation": "boost", + "score": 0.1383124440908432 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.016296125948429108 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09652497619390488 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.10230078548192978 + }, + "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 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.004159689415246248 + }, + "else": { + "operation": "if_greater", + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "boost", + "score": 0.004223052877932787 + }, + "else": { + "operation": "boost", + "score": 0.10582805424928665 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 81.5, + "then": { + "operation": "boost", + "score": -0.08028197288513184 + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 79.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "boost", + "score": -0.02832038514316082 + }, + "else": { + "operation": "boost", + "score": 0.12095095962285995 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.009227105416357517 + }, + "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 + } + } + } + } + } + } + }, + "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 + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0035077244974672794 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.001175791141577065 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18585.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": -0.20730215311050415 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 191566.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 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, + "then": { + "operation": "boost", + "score": -0.13107062876224518 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19625.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30221.5, + "then": { + "operation": "boost", + "score": 0.012379176914691925 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04677498713135719 + } + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": 0.3073456287384033 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.10103828459978104 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04684504121541977 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 263421.0, + "then": { + "operation": "boost", + "score": 0.12408732622861862 + }, + "else": { + "operation": "boost", + "score": -0.01634651981294155 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09558988362550735 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.1292753368616104 + }, + "else": { + "operation": "boost", + "score": 0.05077068880200386 + } + }, + "else": { + "operation": "boost", + "score": -0.030354565009474754 + } + } + }, + "else": { + "operation": "boost", + "score": -0.7318973541259766 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06384869664907455 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73296.0, + "then": { + "operation": "boost", + "score": 0.1075090691447258 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61001.0, + "then": { + "operation": "boost", + "score": -0.1032518595457077 + }, + "else": { + "operation": "boost", + "score": 0.10074436664581299 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.01742265373468399 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75566.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.017701489850878716 + }, + "else": { + "operation": "boost", + "score": 0.0785491093993187 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08444308489561081 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09919391572475433 + } + }, + "else": { + "operation": "boost", + "score": -0.22457537055015564 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24698.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.05327915772795677 + }, + "else": { + "operation": "boost", + "score": 0.08504599332809448 + } + }, + "else": { + "operation": "boost", + "score": -0.02835419587790966 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.10043536871671677 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20296.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -1.6509833335876465 + }, + "else": { + "operation": "boost", + "score": -0.05765802785754204 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10401701927185059 + }, + "else": { + "operation": "boost", + "score": 0.06336604803800583 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10031139850616455 + }, + "else": { + "operation": "boost", + "score": -0.31808018684387207 + } + } + }, + "else": { + "operation": "boost", + "score": 0.019347600638866425 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28247.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 287036.5, + "then": { + "operation": "boost", + "score": 0.050599273294210434 + }, + "else": { + "operation": "boost", + "score": 0.0032532275654375553 + } + }, + "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": 20314.0, + "then": { + "operation": "boost", + "score": 0.012226901948451996 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.13623350858688354 + }, + "else": { + "operation": "boost", + "score": -0.07122431695461273 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24698.0, + "then": { + "operation": "boost", + "score": 0.07569121569395065 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.02365429885685444 + }, + "else": { + "operation": "boost", + "score": -0.31750115752220154 + } + } + } + }, + "else": { + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.016594093292951584 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20449.5, + "then": { + "operation": "boost", + "score": -0.010305224917829037 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1251256763935089 + }, + "else": { + "operation": "boost", + "score": 0.12899905443191528 + } + }, + "else": { + "operation": "boost", + "score": -0.3262660801410675 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07605761289596558 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63549.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63761.5, + "then": { + "operation": "boost", + "score": 0.007967818528413773 + }, + "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.10345576703548431 + }, + "else": { + "operation": "boost", + "score": -0.07584632933139801 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26697.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58696.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.022463899105787277 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1275835633277893 + }, + "else": { + "operation": "boost", + "score": 0.09674584865570068 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26287.0, + "then": { + "operation": "boost", + "score": 0.08496171236038208 + }, + "else": { + "operation": "boost", + "score": -0.07282017171382904 + } + } + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.004723638761788607 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17413.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18160.0, + "then": { + "operation": "boost", + "score": -0.0014261045726016164 + }, + "else": { + "operation": "boost", + "score": -0.24013513326644897 + } + }, + "else": { + "operation": "boost", + "score": -0.10605649650096893 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.029793037101626396 + } + }, + "else": { + "operation": "boost", + "score": -0.00015374012582469732 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "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" + ], + "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 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.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 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.13431809842586517 + }, + "else": { + "operation": "boost", + "score": 0.07128411531448364 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.1372058093547821 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.5, + "then": { + "operation": "boost", + "score": -0.1064155250787735 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.0, + "then": { + "operation": "boost", + "score": 0.1361917108297348 + }, + "else": { + "operation": "boost", + "score": 0.14820429682731628 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.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, + "then": { + "operation": "boost", + "score": -0.06371677666902542 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.10085059702396393 + }, + "else": { + "operation": "boost", + "score": 0.12063437700271606 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10341504216194153 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": 0.11568622291088104 + }, + "else": { + "operation": "boost", + "score": 0.12693347036838531 + } + }, + "else": { + "operation": "boost", + "score": -0.11424799263477325 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 13.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" + ], + "then": { + "operation": "boost", + "score": 0.1292046755552292 + }, + "else": { + "operation": "boost", + "score": -0.26572489738464355 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.1242266371846199 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.17189104855060577 + }, + "else": { + "operation": "boost", + "score": 0.1264694780111313 + } + }, + "else": { + "operation": "boost", + "score": -0.10728006809949875 + } + }, + "else": { + "operation": "boost", + "score": 0.12778054177761078 + } + }, + "else": { + "operation": "boost", + "score": -0.12030776590108871 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06412781029939651 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.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 + }, + "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" + ], + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.17112641036510468 + } + } + } + } + }, + "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": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 161.5, + "then": { + "operation": "boost", + "score": 0.11986160278320312 + }, + "else": { + "operation": "boost", + "score": -0.05114502087235451 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1096939742565155 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10306530445814133 + }, + "else": { + "operation": "boost", + "score": -0.10263434052467346 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 657.0, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 322.5, + "then": { + "operation": "boost", + "score": 0.02657807245850563 + }, + "else": { + "operation": "boost", + "score": 0.11471214890480042 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.0, + "then": { + "operation": "boost", + "score": -0.14117459952831268 + }, + "else": { + "operation": "boost", + "score": 0.17213863134384155 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 366.0, + "then": { + "operation": "boost", + "score": 0.12601503729820251 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1559382826089859 + }, + "else": { + "operation": "boost", + "score": 0.020115291699767113 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008739699609577656 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0483916737139225 + } + }, + "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_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": 0.006645575165748596 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.014646300114691257 + }, + "else": { + "operation": "boost", + "score": 0.10993064939975739 + } + } + }, + "else": { + "operation": "boost", + "score": -9.644108649808913e-05 + } + }, + "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": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": 0.09046890586614609 + }, + "else": { + "operation": "boost", + "score": -0.009214550256729126 + } + }, + "else": { + "operation": "boost", + "score": 0.0924927294254303 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 205.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03569324314594269 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10361217707395554 + }, + "else": { + "operation": "boost", + "score": 0.09764107316732407 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34973.5, + "then": { + "operation": "boost", + "score": 0.0032000141218304634 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03359024226665497 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11245843023061752 + }, + "else": { + "operation": "boost", + "score": 0.060821179300546646 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.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": "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 + } + }, + "else": { + "operation": "boost", + "score": 0.0069036888889968395 + } + }, + "else": { + "operation": "boost", + "score": -0.033184852451086044 + } + }, + "else": { + "operation": "boost", + "score": -0.09591096639633179 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.20710499584674835 + }, + "else": { + "operation": "boost", + "score": -0.21713845431804657 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02981075644493103 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.11291714757680893 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40755.0, + "then": { + "operation": "boost", + "score": -0.1614525318145752 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27076.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.054897893220186234 + }, + "else": { + "operation": "boost", + "score": 0.14915159344673157 + } + }, + "else": { + "operation": "boost", + "score": 0.02724643237888813 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": 0.12694814801216125 + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1097940057516098 + }, + "else": { + "operation": "boost", + "score": 0.06338421255350113 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10026690363883972 + }, + "else": { + "operation": "boost", + "score": -0.034321289509534836 + } + }, + "else": { + "operation": "boost", + "score": -0.23064541816711426 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0004522112722042948 + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_ClassOrStructTag", + "CCC_Other", + "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.09536837041378021 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.00118588050827384 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.08083907514810562 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1050509586930275 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07815038412809372 + }, + "else": { + "operation": "boost", + "score": 0.09599710255861282 + } + }, + "else": { + "operation": "boost", + "score": 0.020604589954018593 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 381517.0, + "then": { + "operation": "boost", + "score": 0.08723633736371994 + }, + "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 + } + } + }, + "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": 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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.33863744139671326 + }, + "else": { + "operation": "boost", + "score": 0.11915422230958939 + } + } + }, + "else": { + "operation": "boost", + "score": -0.3735862970352173 + } + }, + "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_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": 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, + "then": { + "operation": "boost", + "score": -0.7572506666183472 + }, + "else": { + "operation": "boost", + "score": 0.17775289714336395 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12613831460475922 + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 359896.0, + "then": { + "operation": "boost", + "score": 0.12394030392169952 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 145.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.1626029759645462 + }, + "else": { + "operation": "boost", + "score": -0.027484217658638954 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0651252344250679 + }, + "else": { + "operation": "boost", + "score": 0.006207260303199291 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "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, + "then": { + "operation": "boost", + "score": -0.0021884345915168524 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0954204797744751 + }, + "else": { + "operation": "boost", + "score": 0.08880612999200821 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.8010205030441284 + }, + "else": { + "operation": "boost", + "score": 0.10644214600324631 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3242.5, + "then": { + "operation": "boost", + "score": 0.10138024389743805 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07942818105220795 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.009082167409360409 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.013953588902950287 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.33559027314186096 + }, + "else": { + "operation": "boost", + "score": -0.10308785736560822 + } + }, + "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 + } + } + } + } + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.5397274494171143 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.13968057930469513 + }, + "else": { + "operation": "boost", + "score": -0.10085456073284149 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15788.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17400.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.10225243121385574 + }, + "else": { + "operation": "boost", + "score": 0.042258501052856445 + } + }, + "else": { + "operation": "boost", + "score": 0.10870245099067688 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.04267724230885506 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04197046533226967 + } + }, + "else": { + "operation": "boost", + "score": 0.0037277741357684135 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.08017237484455109 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50012.5, + "then": { + "operation": "boost", + "score": 0.01868458092212677 + }, + "else": { + "operation": "boost", + "score": -0.11033209413290024 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10139390081167221 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0999218299984932 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.18418225646018982 + }, + "else": { + "operation": "boost", + "score": 0.07238886505365372 + } + }, + "else": { + "operation": "boost", + "score": -0.8642313480377197 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.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, + "then": { + "operation": "boost", + "score": -0.3209012448787689 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12739476561546326 + }, + "else": { + "operation": "boost", + "score": 0.03409872576594353 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.2405482679605484 + }, + "else": { + "operation": "boost", + "score": 0.10065502673387527 + } + }, + "else": { + "operation": "boost", + "score": -0.02482008934020996 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 2.7703772502718493e-05 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess" + ], + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004007335752248764 + } + }, + "else": { + "operation": "boost", + "score": -0.009265785105526447 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.01505369320511818 + }, + "else": { + "operation": "boost", + "score": 0.11281950771808624 + } + }, + "else": { + "operation": "boost", + "score": -0.07821591198444366 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00157231988850981 + } + }, + "else": { + "operation": "boost", + "score": -0.001510298578068614 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 398.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 403.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 638.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172808.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200884.5, + "then": { + "operation": "boost", + "score": 0.014556949026882648 + }, + "else": { + "operation": "boost", + "score": -0.14136892557144165 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159753.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04935060068964958 + }, + "else": { + "operation": "boost", + "score": 0.07947145402431488 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98110.0, + "then": { + "operation": "boost", + "score": -0.18312938511371613 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20700.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23872.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.034047048538923264 + }, + "else": { + "operation": "boost", + "score": 0.07345680892467499 + } + }, + "else": { + "operation": "boost", + "score": -0.035535577684640884 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20449.5, + "then": { + "operation": "boost", + "score": -0.5817143321037292 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1275.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.3208988606929779 + }, + "else": { + "operation": "boost", + "score": 0.028580917045474052 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12757.5, + "then": { + "operation": "boost", + "score": -0.09925512224435806 + }, + "else": { + "operation": "boost", + "score": 0.013285577297210693 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.024129599332809448 + }, + "else": { + "operation": "boost", + "score": 0.12711235880851746 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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, + "then": { + "operation": "boost", + "score": 0.10756136476993561 + }, + "else": { + "operation": "boost", + "score": 0.0037225764244794846 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9462.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73487.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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10893779247999191 + }, + "else": { + "operation": "boost", + "score": 0.09291557222604752 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67668.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07213478535413742 + }, + "else": { + "operation": "boost", + "score": 0.06763061881065369 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16539.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19176.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0068069384433329105 + }, + "else": { + "operation": "boost", + "score": 0.10196518898010254 + } + }, + "else": { + "operation": "boost", + "score": 0.08656884729862213 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08537676185369492 + }, + "else": { + "operation": "boost", + "score": -0.14538899064064026 + } + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 932.5, + "then": { + "operation": "boost", + "score": -0.11475617438554764 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 865.0, + "then": { + "operation": "boost", + "score": 0.09812525659799576 + }, + "else": { + "operation": "boost", + "score": 0.038666751235723495 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.12247136980295181 + }, + "else": { + "operation": "boost", + "score": -0.546279788017273 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 678.0, + "then": { + "operation": "boost", + "score": 0.12669609487056732 + }, + "else": { + "operation": "boost", + "score": 0.01853017508983612 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04111939296126366 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0690341591835022 + }, + "else": { + "operation": "boost", + "score": 0.09477142989635468 + } + }, + "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, + "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, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10612858086824417 + }, + "else": { + "operation": "boost", + "score": -0.17571119964122772 + } + } + }, + "else": { + "operation": "boost", + "score": 0.022066280245780945 + } + }, + "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.14268288016319275 + }, + "else": { + "operation": "boost", + "score": -0.03883502632379532 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.07446283847093582 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09594576060771942 + } + } + } + }, + "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 + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10722439736127853 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 402.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.11784534901380539 + }, + "else": { + "operation": "boost", + "score": -0.08064814656972885 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10194744169712067 + }, + "else": { + "operation": "boost", + "score": -0.05642089247703552 + } + } + } + }, + "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" + ], + "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, + "then": { + "operation": "boost", + "score": -0.008679916150867939 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.04785319045186043 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.016833564266562462 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1257735639810562 + }, + "else": { + "operation": "boost", + "score": 0.06686610728502274 + } + }, + "else": { + "operation": "boost", + "score": -0.011817773804068565 + } + } + } + }, + "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" + ], + "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_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.12150588631629944 + }, + "else": { + "operation": "boost", + "score": -0.043730974197387695 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01473226584494114 + } + }, + "else": { + "operation": "boost", + "score": -0.0026798578910529613 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.0168209969997406 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "boost", + "score": -0.17746146023273468 + }, + "else": { + "operation": "boost", + "score": 0.11064129322767258 + } + }, + "else": { + "operation": "boost", + "score": -0.40472912788391113 + } + }, + "else": { + "operation": "boost", + "score": -0.16076481342315674 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.027954768389463425 + }, + "else": { + "operation": "boost", + "score": 0.09637118875980377 + } + }, + "else": { + "operation": "boost", + "score": 0.007647029589861631 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.5, + "then": { + "operation": "boost", + "score": -0.1938066929578781 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.0, + "then": { + "operation": "boost", + "score": 0.11127419769763947 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.15772995352745056 + }, + "else": { + "operation": "boost", + "score": 0.11102432012557983 + } + }, + "else": { + "operation": "boost", + "score": -0.1385444551706314 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 404.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 600.5, + "then": { + "operation": "boost", + "score": 0.08605366945266724 + }, + "else": { + "operation": "boost", + "score": 0.10382462292909622 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.051724474877119064 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.19338828325271606 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.0, + "then": { + "operation": "boost", + "score": -0.0719168484210968 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.052039746195077896 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11784682422876358 + }, + "else": { + "operation": "boost", + "score": 0.07476528733968735 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0014257370494306087 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015835030004382133 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69564.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10989028215408325 + }, + "else": { + "operation": "boost", + "score": -0.12308132648468018 + } + } + }, + "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 + } + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.010260817594826221 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.028739165514707565 + }, + "else": { + "operation": "boost", + "score": -0.21382290124893188 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03627810999751091 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.06859773397445679 + }, + "else": { + "operation": "boost", + "score": -0.30553948879241943 + } + } + }, + "else": { + "operation": "boost", + "score": -0.032063860446214676 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.042188744992017746 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.046963170170784 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14946115016937256 + }, + "else": { + "operation": "boost", + "score": -0.10806815326213837 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.0, + "then": { + "operation": "boost", + "score": 0.04347900301218033 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10348781943321228 + }, + "else": { + "operation": "boost", + "score": -0.4122233986854553 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08519457280635834 + }, + "else": { + "operation": "boost", + "score": 0.10929183661937714 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.412625253200531 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200.0, + "then": { + "operation": "boost", + "score": 0.10239683091640472 + }, + "else": { + "operation": "boost", + "score": 0.11083146184682846 + } + }, + "else": { + "operation": "boost", + "score": 0.09315226227045059 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1718.5, + "then": { + "operation": "boost", + "score": 0.10535410791635513 + }, + "else": { + "operation": "boost", + "score": 0.1049157977104187 + } + }, + "else": { + "operation": "boost", + "score": -0.09978548437356949 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02876383066177368 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.009529514238238335 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14023.5, + "then": { + "operation": "boost", + "score": 0.018598265945911407 + }, + "else": { + "operation": "boost", + "score": -0.43800869584083557 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12391301244497299 + }, + "else": { + "operation": "boost", + "score": -0.11465360224246979 + } + } + }, + "else": { + "operation": "boost", + "score": -0.16425983607769012 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6637.0, + "then": { + "operation": "boost", + "score": 0.10115677863359451 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10421919077634811 + }, + "else": { + "operation": "boost", + "score": 0.06880219280719757 + } + }, + "else": { + "operation": "boost", + "score": 0.03396816551685333 + } + } + } + } + } + } + } + } + }, + "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": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.08204008638858795 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.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 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12516365945339203 + }, + "else": { + "operation": "boost", + "score": 0.08837728202342987 + } + }, + "else": { + "operation": "boost", + "score": 0.014003027230501175 + } + }, + "else": { + "operation": "boost", + "score": -0.04737747833132744 + } + } + }, + "else": { + "operation": "boost", + "score": -0.017142800614237785 + } + } + }, + "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.014112237840890884 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.11449329555034637 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09347017109394073 + }, + "else": { + "operation": "boost", + "score": 0.12474098056554794 + } + }, + "else": { + "operation": "boost", + "score": -0.28450438380241394 + } + }, + "else": { + "operation": "boost", + "score": -0.079072505235672 + } + }, + "else": { + "operation": "boost", + "score": -0.047889310866594315 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08663459867238998 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0013416860019788146 + } + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.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": "if_greater", + "feature": "NumReferences", + "threshold": 812.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820.5, + "then": { + "operation": "boost", + "score": 0.011052710935473442 + }, + "else": { + "operation": "boost", + "score": 0.10354343801736832 + } + }, + "else": { + "operation": "boost", + "score": -0.10244898498058319 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03695354610681534 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 389.5, + "then": { + "operation": "boost", + "score": 0.008666426874697208 + }, + "else": { + "operation": "boost", + "score": 0.12745358049869537 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 321.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 + } + }, + "else": { + "operation": "boost", + "score": -0.20097504556179047 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 359.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 343.5, + "then": { + "operation": "boost", + "score": -0.5845407843589783 + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10712110996246338 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.07352237403392792 + }, + "else": { + "operation": "boost", + "score": 0.10292746126651764 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20739275217056274 + }, + "else": { + "operation": "boost", + "score": 0.1004958301782608 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.03338140994310379 + }, + "else": { + "operation": "boost", + "score": -0.15645690262317657 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.1776379644870758 + }, + "else": { + "operation": "boost", + "score": 0.08475527167320251 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00687055429443717 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 106.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 142.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018530091270804405 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2505.0, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.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 + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00638225395232439 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 172.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 162.5, + "then": { + "operation": "boost", + "score": -0.13918903470039368 + }, + "else": { + "operation": "boost", + "score": 0.12067432701587677 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.1249236911535263 + }, + "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", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 168.5, + "then": { + "operation": "boost", + "score": 0.14955097436904907 + }, + "else": { + "operation": "boost", + "score": 0.08677514642477036 + } + }, + "else": { + "operation": "boost", + "score": -0.23229257762432098 + } + }, + "else": { + "operation": "boost", + "score": 0.5845500826835632 + } + }, + "else": { + "operation": "boost", + "score": -0.1505090743303299 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 139.5, + "then": { + "operation": "boost", + "score": 0.0970141664147377 + }, + "else": { + "operation": "boost", + "score": 0.254160076379776 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.17777153849601746 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.5, + "then": { + "operation": "boost", + "score": 0.09773783385753632 + }, + "else": { + "operation": "boost", + "score": 0.24556130170822144 + } + } + }, + "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", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11045603454113007 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.5, + "then": { + "operation": "boost", + "score": 0.035013347864151 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 121.5, + "then": { + "operation": "boost", + "score": 0.1286848485469818 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.38217276334762573 + }, + "else": { + "operation": "boost", + "score": -0.314275324344635 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.37927088141441345 + }, + "else": { + "operation": "boost", + "score": 0.06803914904594421 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12974072992801666 + }, + "else": { + "operation": "boost", + "score": -0.14679959416389465 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 271.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 334.5, + "then": { + "operation": "boost", + "score": 0.020353354513645172 + }, + "else": { + "operation": "boost", + "score": 0.15009567141532898 + } + }, + "else": { + "operation": "boost", + "score": -0.21328113973140717 + } + }, + "else": { + "operation": "boost", + "score": -0.04908040165901184 + } + } + }, + "else": { + "operation": "boost", + "score": 0.021200159564614296 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0006492818356491625 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00041504582623019814 + } + }, + { + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.1843596249818802 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.11238030344247818 + }, + "else": { + "operation": "boost", + "score": 0.02481308951973915 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13546165823936462 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.14438174664974213 + }, + "else": { + "operation": "boost", + "score": 0.16944584250450134 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.006934797391295433 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2922.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91274.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 94621.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08418651670217514 + }, + "else": { + "operation": "boost", + "score": -0.4096725881099701 + } + }, + "else": { + "operation": "boost", + "score": 0.07210255414247513 + } + }, + "else": { + "operation": "boost", + "score": -0.803673505783081 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.06356248259544373 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1998.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2088.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.1003074049949646 + }, + "else": { + "operation": "boost", + "score": 0.10699586570262909 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2747.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2754.0, + "then": { + "operation": "boost", + "score": 0.057640496641397476 + }, + "else": { + "operation": "boost", + "score": 0.48262959718704224 + } + }, + "else": { + "operation": "boost", + "score": -0.13026267290115356 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2208.5, + "then": { + "operation": "boost", + "score": -0.19141104817390442 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.1384160965681076 + }, + "else": { + "operation": "boost", + "score": 0.10533116012811661 + } + }, + "else": { + "operation": "boost", + "score": -0.08870597183704376 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1250012367963791 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2051.5, + "then": { + "operation": "boost", + "score": -0.0512029305100441 + }, + "else": { + "operation": "boost", + "score": 0.1445656567811966 + } + } + } + } + }, + "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 + } + } + } + }, + "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, + "then": { + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09433809667825699 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1006.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.012301416136324406 + }, + "else": { + "operation": "boost", + "score": 0.12764354050159454 + } + }, + "else": { + "operation": "boost", + "score": -0.07082809507846832 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 812.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 851.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 986.5, + "then": { + "operation": "boost", + "score": 0.14302073419094086 + }, + "else": { + "operation": "boost", + "score": -0.016376441344618797 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09497673809528351 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 825.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.03839742764830589 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.13394096493721008 + }, + "else": { + "operation": "boost", + "score": 0.13507407903671265 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.22433358430862427 + }, + "else": { + "operation": "boost", + "score": 0.08752036094665527 + } + }, + "else": { + "operation": "boost", + "score": -0.1440446823835373 + } + } + } + } + }, + "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, + "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 + } + }, + "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", + "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, + "then": { + "operation": "boost", + "score": -0.035564638674259186 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.11041299253702164 + }, + "else": { + "operation": "boost", + "score": 0.33912310004234314 + } + }, + "else": { + "operation": "boost", + "score": 0.2273435741662979 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 343.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.025153748691082 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10456313192844391 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 531.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 567.5, + "then": { + "operation": "boost", + "score": 0.06298114359378815 + }, + "else": { + "operation": "boost", + "score": 0.11974632740020752 + } + }, + "else": { + "operation": "boost", + "score": 0.00943822506815195 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02986818738281727 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08274918049573898 + }, + "else": { + "operation": "boost", + "score": 0.11474623531103134 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.19275347888469696 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 82.0, + "then": { + "operation": "boost", + "score": 0.10920096933841705 + }, + "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, + "then": { + "operation": "boost", + "score": 0.10107631981372833 + }, + "else": { + "operation": "boost", + "score": 0.1469786912202835 + } + }, + "else": { + "operation": "boost", + "score": 0.06251101195812225 + } + }, + "else": { + "operation": "boost", + "score": -0.014759743586182594 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.020904259756207466 + } + }, + "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": "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.11853232979774475 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 125.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 136.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 + } + }, + "else": { + "operation": "boost", + "score": 0.10652174055576324 + } + }, + "else": { + "operation": "boost", + "score": -0.05988065153360367 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.029794923961162567 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.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 + } + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33449.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33610.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.051683660596609116 + }, + "else": { + "operation": "boost", + "score": 0.12618820369243622 + } + }, + "else": { + "operation": "boost", + "score": 0.03789789602160454 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 101032.5, + "then": { + "operation": "boost", + "score": -0.009190474636852741 + }, + "else": { + "operation": "boost", + "score": 0.11225737631320953 + } + }, + "else": { + "operation": "boost", + "score": -0.06916298717260361 + } + }, + "else": { + "operation": "boost", + "score": 0.04569893330335617 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30668.0, + "then": { + "operation": "boost", + "score": -0.09432551264762878 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.15867145359516144 + }, + "else": { + "operation": "boost", + "score": 0.04511415213346481 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25180.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25411.0, + "then": { + "operation": "boost", + "score": -0.032519351691007614 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.4484771192073822 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.037165988236665726 + }, + "else": { + "operation": "boost", + "score": 0.1367131471633911 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1668.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09196755290031433 + }, + "else": { + "operation": "boost", + "score": -0.07689026743173599 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1649.0, + "then": { + "operation": "boost", + "score": 0.12107270210981369 + }, + "else": { + "operation": "boost", + "score": 0.009102833457291126 + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.09063486009836197 + }, + "else": { + "operation": "boost", + "score": 0.09886974841356277 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.04134589806199074 + }, + "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, + "then": { + "operation": "boost", + "score": -0.10386525094509125 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 820.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 860.5, + "then": { + "operation": "boost", + "score": 0.10300125926733017 + }, + "else": { + "operation": "boost", + "score": 0.1597859114408493 + } + }, + "else": { + "operation": "boost", + "score": -0.08809655904769897 + } + }, + "else": { + "operation": "boost", + "score": 0.00380874564871192 + } + } + }, + "else": { + "operation": "boost", + "score": -0.060227036476135254 + } + } + }, + "else": { + "operation": "boost", + "score": -0.23193874955177307 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025196481496095657 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.04873787239193916 + }, + "else": { + "operation": "boost", + "score": 0.03888951241970062 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.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": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11259539425373077 + }, + "else": { + "operation": "boost", + "score": -0.08587201684713364 + } + }, + "else": { + "operation": "boost", + "score": -0.10801901668310165 + } + }, + "else": { + "operation": "boost", + "score": -0.03244609013199806 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 214.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.0867808610200882 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 459.0, + "then": { + "operation": "boost", + "score": 0.10296018421649933 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 362.0, + "then": { + "operation": "boost", + "score": 0.19525209069252014 + }, + "else": { + "operation": "boost", + "score": 0.058523304760456085 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10949526727199554 + } + }, + "else": { + "operation": "boost", + "score": -0.28150349855422974 + } + }, + "else": { + "operation": "boost", + "score": -0.031034743413329124 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1216123178601265 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.12047842144966125 + }, + "else": { + "operation": "boost", + "score": 0.12255130708217621 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 209.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 309.0, + "then": { + "operation": "boost", + "score": -0.0010131036397069693 + }, + "else": { + "operation": "boost", + "score": -0.5663732290267944 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11171329766511917 + }, + "else": { + "operation": "boost", + "score": -0.03830711543560028 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06304687261581421 + } + }, + "else": { + "operation": "boost", + "score": -0.14641961455345154 + } + } + }, + "else": { + "operation": "boost", + "score": -0.17034262418746948 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04162601754069328 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0304564256221056 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.03623417392373085 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.009699251502752304 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.06502699106931686 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 427.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 493.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8084.5, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 474.0, + "then": { + "operation": "boost", + "score": 0.12471623718738556 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 442.5, + "then": { + "operation": "boost", + "score": -0.008299492299556732 + }, + "else": { + "operation": "boost", + "score": 0.10881379246711731 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01578538306057453 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 155.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110939.5, + "then": { + "operation": "boost", + "score": -0.6825320720672607 + }, + "else": { + "operation": "boost", + "score": 0.04047094285488129 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.020326271653175354 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 282.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 302.0, + "then": { + "operation": "boost", + "score": -0.8910176157951355 + }, + "else": { + "operation": "boost", + "score": -1.004299521446228 + } + }, + "else": { + "operation": "boost", + "score": -0.17192065715789795 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.5, + "then": { + "operation": "boost", + "score": 0.10148891061544418 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 165.5, + "then": { + "operation": "boost", + "score": 0.11382885277271271 + }, + "else": { + "operation": "boost", + "score": 0.07800830155611038 + } + }, + "else": { + "operation": "boost", + "score": 0.013499680906534195 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 164.5, + "then": { + "operation": "boost", + "score": -0.46912679076194763 + }, + "else": { + "operation": "boost", + "score": 0.01896725408732891 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 72.5, + "then": { + "operation": "boost", + "score": 0.07965897023677826 + }, + "else": { + "operation": "boost", + "score": 0.10541052371263504 + } + }, + "else": { + "operation": "boost", + "score": -0.09835000336170197 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.17496955394744873 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "boost", + "score": 0.1468261480331421 + }, + "else": { + "operation": "boost", + "score": 0.13039030134677887 + } + }, + "else": { + "operation": "boost", + "score": -0.12873391807079315 + } + }, + "else": { + "operation": "boost", + "score": -0.14736388623714447 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.00172477588057518 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007962324656546116 + } + }, + "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.3450375497341156 + }, + "else": { + "operation": "boost", + "score": -1.8162105083465576 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1007.5, + "then": { + "operation": "boost", + "score": 0.24514466524124146 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 318.5, + "then": { + "operation": "boost", + "score": 0.03807760030031204 + }, + "else": { + "operation": "boost", + "score": 0.1004440113902092 + } + }, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 860.5, + "then": { + "operation": "boost", + "score": -0.010365867055952549 + }, + "else": { + "operation": "boost", + "score": 0.1580670326948166 + } + }, + "else": { + "operation": "boost", + "score": -0.06451539695262909 + } + }, + "else": { + "operation": "boost", + "score": 0.1781744658946991 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24875377118587494 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.04306313768029213 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 608.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10364028811454773 + }, + "else": { + "operation": "boost", + "score": 0.04132223501801491 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10633601993322372 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "boost", + "score": 0.022001022472977638 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "boost", + "score": 0.11040541529655457 + }, + "else": { + "operation": "boost", + "score": 0.023007787764072418 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03383508324623108 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 197.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11034134775400162 + }, + "else": { + "operation": "boost", + "score": -0.11928797513246536 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.070843905210495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 362.0, + "then": { + "operation": "boost", + "score": 0.18333135545253754 + }, + "else": { + "operation": "boost", + "score": 0.053996168076992035 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10801191627979279 + } + }, + "else": { + "operation": "boost", + "score": -0.2114289551973343 + } + }, + "else": { + "operation": "boost", + "score": -0.024739257991313934 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1667843610048294 + }, + "else": { + "operation": "boost", + "score": -0.11822474747896194 + } + }, + "else": { + "operation": "boost", + "score": -0.23805119097232819 + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 213.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 799.5, + "then": { + "operation": "boost", + "score": 0.13853658735752106 + }, + "else": { + "operation": "boost", + "score": -0.39219576120376587 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 120.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 126.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.10812332481145859 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 133.5, + "then": { + "operation": "boost", + "score": 0.022176777943968773 + }, + "else": { + "operation": "boost", + "score": 0.09912706166505814 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10738377273082733 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.08468693494796753 + }, + "else": { + "operation": "boost", + "score": -0.06564697623252869 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07666469365358353 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1586252748966217 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04528827965259552 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10804526507854462 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1449873149394989 + }, + "else": { + "operation": "boost", + "score": 0.11046016216278076 + } + } + } + }, + "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 + } + } + } + } + } + } + }, + "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": 242.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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011076068505644798 + } + }, + "else": { + "operation": "boost", + "score": 0.04645507037639618 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.0003575324371922761 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.012528441846370697 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07957476377487183 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06968989968299866 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00039843135164119303 + } + }, + { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.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, + "then": { + "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_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other" + ], + "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_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope" + ], + "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": 109.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.0, + "then": { + "operation": "boost", + "score": -0.059894464910030365 + }, + "else": { + "operation": "boost", + "score": 0.18114767968654633 + } + }, + "else": { + "operation": "boost", + "score": -0.27861979603767395 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08896049857139587 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.14780770242214203 + }, + "else": { + "operation": "boost", + "score": 0.13214825093746185 + } + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01516789011657238 + } + }, + "else": { + "operation": "boost", + "score": -0.005980431567877531 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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" + ], + "then": { + "operation": "boost", + "score": 0.036386117339134216 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.043080464005470276 + }, + "else": { + "operation": "boost", + "score": -0.002250977326184511 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11107918620109558 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.0213765986263752 + }, + "else": { + "operation": "boost", + "score": 0.11371973901987076 + } + }, + "else": { + "operation": "boost", + "score": -0.022150225937366486 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04518340155482292 + } + }, + "else": { + "operation": "boost", + "score": -0.018238557502627373 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62601.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "boost", + "score": -0.021984262391924858 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10653737932443619 + }, + "else": { + "operation": "boost", + "score": 0.04821555316448212 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 165.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 322.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 344.0, + "then": { + "operation": "boost", + "score": -0.018497969955205917 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.10686086863279343 + }, + "else": { + "operation": "boost", + "score": 0.09873220324516296 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13060425221920013 + } + }, + "else": { + "operation": "boost", + "score": -0.11044567078351974 + } + }, + "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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.03883600980043411 + }, + "else": { + "operation": "boost", + "score": 0.16029618680477142 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "boost", + "score": 0.10568172484636307 + }, + "else": { + "operation": "boost", + "score": 0.04254979267716408 + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 99.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_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45617.0, + "then": { + "operation": "boost", + "score": -0.0799497663974762 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20608.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08987313508987427 + }, + "else": { + "operation": "boost", + "score": 0.11099320650100708 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": 0.06109710782766342 + }, + "else": { + "operation": "boost", + "score": 0.10343855619430542 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24196389317512512 + } + }, + "else": { + "operation": "boost", + "score": -0.21823212504386902 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93.5, + "then": { + "operation": "boost", + "score": 0.11243722587823868 + }, + "else": { + "operation": "boost", + "score": -0.06428458541631699 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.049497947096824646 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.6523468494415283 + }, + "else": { + "operation": "boost", + "score": -0.0635218694806099 + } + }, + "else": { + "operation": "boost", + "score": 0.10007324069738388 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.037297219038009644 + }, + "else": { + "operation": "boost", + "score": -0.14446382224559784 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.025988595560193062 + }, + "else": { + "operation": "boost", + "score": 0.10151831805706024 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.39423051476478577 + }, + "else": { + "operation": "boost", + "score": 0.06675561517477036 + } + }, + "else": { + "operation": "boost", + "score": -0.42545512318611145 + } + }, + "else": { + "operation": "boost", + "score": 0.04653012380003929 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1560.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7172.5, + "then": { + "operation": "boost", + "score": -0.06762944906949997 + }, + "else": { + "operation": "boost", + "score": 0.09414343535900116 + } + }, + "else": { + "operation": "boost", + "score": -0.04334099590778351 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.051609497517347336 + }, + "else": { + "operation": "boost", + "score": -0.2610062062740326 + } + }, + "else": { + "operation": "boost", + "score": -0.1558404564857483 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.0943184569478035 + }, + "else": { + "operation": "boost", + "score": 0.07821683585643768 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.3208703100681305 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.08305644989013672 + }, + "else": { + "operation": "boost", + "score": 0.08696296066045761 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07514742761850357 + }, + "else": { + "operation": "boost", + "score": -0.0667516440153122 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.01061293762177229 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.08961032330989838 + }, + "else": { + "operation": "boost", + "score": 0.04780185595154762 + } + }, + "else": { + "operation": "boost", + "score": 0.004864376038312912 + } + } + }, + "else": { + "operation": "boost", + "score": -0.01903042383491993 + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.00022127755801193416 + } + } + }, + { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Constructor", + "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": "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0711505338549614 + } + }, + "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_Namespace", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 9.848911577137187e-05 + }, + "else": { + "operation": "boost", + "score": -0.10853724926710129 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag" + ], + "then": { + "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.005646096542477608 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1188335120677948 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05479865148663521 + }, + "else": { + "operation": "boost", + "score": 0.07660522311925888 + } + }, + "else": { + "operation": "boost", + "score": 0.09740302711725235 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.05511698126792908 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03829158842563629 + }, + "else": { + "operation": "boost", + "score": 0.07915718853473663 + } + }, + "else": { + "operation": "boost", + "score": -0.021048326045274734 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.019065413624048233 + }, + "else": { + "operation": "boost", + "score": 0.015681084245443344 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0795387551188469 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.012854745611548424 + }, + "else": { + "operation": "boost", + "score": 0.13933567702770233 + } + }, + "else": { + "operation": "boost", + "score": 0.030270444229245186 + } + }, + "else": { + "operation": "boost", + "score": -0.0379842072725296 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.007210560142993927 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06668423116207123 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.048864688724279404 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.046365924179553986 + }, + "else": { + "operation": "boost", + "score": -0.04191024601459503 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.00684824725612998 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09325801581144333 + }, + "else": { + "operation": "boost", + "score": -0.0244876891374588 + } + }, + "else": { + "operation": "boost", + "score": -0.175195574760437 + } + }, + "else": { + "operation": "boost", + "score": 0.10045845806598663 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.034203242510557175 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.15162907540798187 + }, + "else": { + "operation": "boost", + "score": 0.1616690307855606 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.14733651280403137 + }, + "else": { + "operation": "boost", + "score": 0.0950445830821991 + } + }, + "else": { + "operation": "boost", + "score": -0.007919128984212875 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": -0.09867727011442184 + }, + "else": { + "operation": "boost", + "score": 0.06122194230556488 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11886.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.058463580906391144 + }, + "else": { + "operation": "boost", + "score": -0.5011188983917236 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6739.0, + "then": { + "operation": "boost", + "score": 0.086585134267807 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "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 + } + } + }, + "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 + } + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06076550483703613 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08076155185699463 + }, + "else": { + "operation": "boost", + "score": 0.001777367782779038 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32056.0, + "then": { + "operation": "boost", + "score": 0.024497544392943382 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.2103785276412964 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.005751776974648237 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.028728095814585686 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01563291624188423 + } + }, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.0730450302362442 + }, + "else": { + "operation": "boost", + "score": 0.01858079433441162 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0035051913000643253 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0022967010736465454 + } + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2082.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0629805251955986 + }, + "else": { + "operation": "boost", + "score": 0.07767336070537567 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88678.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89117.0, + "then": { + "operation": "boost", + "score": 0.027728604152798653 + }, + "else": { + "operation": "boost", + "score": 0.08996043354272842 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.1268652379512787 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06260308623313904 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1514010727405548 + }, + "else": { + "operation": "boost", + "score": -0.15375378727912903 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08831211924552917 + }, + "else": { + "operation": "boost", + "score": -0.03772339969873428 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132310.5, + "then": { + "operation": "boost", + "score": -0.041440077126026154 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123410.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, + "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, + "then": { + "operation": "boost", + "score": -0.03815477341413498 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30750.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11505341529846191 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.006724949926137924 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10110922902822495 + }, + "else": { + "operation": "boost", + "score": 0.09919501841068268 + } + }, + "else": { + "operation": "boost", + "score": 0.05285884812474251 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23310.0, + "then": { + "operation": "boost", + "score": 0.06361352652311325 + }, + "else": { + "operation": "boost", + "score": -0.05022453889250755 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.12033382803201675 + }, + "else": { + "operation": "boost", + "score": 0.10566399991512299 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "boost", + "score": -0.0010560028022155166 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23473.0, + "then": { + "operation": "boost", + "score": -0.4343425929546356 + }, + "else": { + "operation": "boost", + "score": 0.1267639547586441 + } + }, + "else": { + "operation": "boost", + "score": -1.0399930477142334 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1102854311466217 + }, + "else": { + "operation": "boost", + "score": 0.13853052258491516 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9969.5, + "then": { + "operation": "boost", + "score": -0.026398630812764168 + }, + "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": 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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4722.0, + "then": { + "operation": "boost", + "score": -0.08628915250301361 + }, + "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 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.0, + "then": { + "operation": "boost", + "score": 0.10605999082326889 + }, + "else": { + "operation": "boost", + "score": -0.018370371311903 + } + }, + "else": { + "operation": "boost", + "score": 0.10643915086984634 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003221986349672079 + } + }, + "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": 1864.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2591.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3078.0, + "then": { + "operation": "boost", + "score": 0.04284871369600296 + }, + "else": { + "operation": "boost", + "score": -0.2495848387479782 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2204.5, + "then": { + "operation": "boost", + "score": 0.10519848018884659 + }, + "else": { + "operation": "boost", + "score": 0.09691313654184341 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10845939069986343 + }, + "else": { + "operation": "boost", + "score": -0.10007435083389282 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.12370692938566208 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.29249492287635803 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.02805238775908947 + }, + "else": { + "operation": "boost", + "score": 0.00440751388669014 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12300822138786316 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.007273614406585693 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1299913078546524 + }, + "else": { + "operation": "boost", + "score": 0.11171560734510422 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12057160586118698 + } + }, + "else": { + "operation": "boost", + "score": 0.012910819612443447 + } + }, + "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_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0992838591337204 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.09672197699546814 + }, + "else": { + "operation": "boost", + "score": -0.22254712879657745 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03932615742087364 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 70.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "boost", + "score": 0.10306119918823242 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.3393247127532959 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11551482230424881 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.24164417386054993 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11835168302059174 + }, + "else": { + "operation": "boost", + "score": -0.03083072043955326 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2681.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3428.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.12464925646781921 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5784.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7475.5, + "then": { + "operation": "boost", + "score": -0.3172837793827057 + }, + "else": { + "operation": "boost", + "score": 0.1247018352150917 + } + }, + "else": { + "operation": "boost", + "score": -0.36080610752105713 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11419853568077087 + } + }, + "else": { + "operation": "boost", + "score": 0.043621841818094254 + } + }, + "else": { + "operation": "boost", + "score": 0.028027605265378952 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34322.0, + "then": { + "operation": "boost", + "score": 0.11259093135595322 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59.5, + "then": { + "operation": "boost", + "score": 0.0017787809483706951 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.10956434160470963 + }, + "else": { + "operation": "boost", + "score": -0.15705744922161102 + } + }, + "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": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.008238832466304302 + }, + "else": { + "operation": "boost", + "score": 0.13407626748085022 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.20055536925792694 + }, + "else": { + "operation": "boost", + "score": 0.11446733772754669 + } + }, + "else": { + "operation": "boost", + "score": -0.17562337219715118 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07749040424823761 + }, + "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 + }, + "else": { + "operation": "boost", + "score": 0.12526337802410126 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.004893166478723288 + }, + "else": { + "operation": "boost", + "score": 0.12429410964250565 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.11554569005966187 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03868316486477852 + }, + "else": { + "operation": "boost", + "score": 0.11260760575532913 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07636912167072296 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.10543163120746613 + }, + "else": { + "operation": "boost", + "score": -0.00798018928617239 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001156953745521605 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007863142527639866 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00728550786152482 + } + } + }, + "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": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.007523008156567812 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1452.5, + "then": { + "operation": "boost", + "score": 0.06696151196956635 + }, + "else": { + "operation": "boost", + "score": -0.01069747656583786 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 663.5, + "then": { + "operation": "boost", + "score": -0.20677724480628967 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.0, + "then": { + "operation": "boost", + "score": 0.10174401104450226 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1525142341852188 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10164763778448105 + }, + "else": { + "operation": "boost", + "score": 0.028164800256490707 + } + }, + "else": { + "operation": "boost", + "score": 0.24186019599437714 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.029802139848470688 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.13635997474193573 + }, + "else": { + "operation": "boost", + "score": 0.11425331979990005 + } + } + }, + "else": { + "operation": "boost", + "score": 1.2807003259658813 + } + }, + "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": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10607459396123886 + }, + "else": { + "operation": "boost", + "score": 2.6683766841888428 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.079340860247612 + }, + "else": { + "operation": "boost", + "score": -0.30307477712631226 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03546319529414177 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10382548719644547 + }, + "else": { + "operation": "boost", + "score": 0.038812533020973206 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0699358731508255 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.12016236037015915 + }, + "else": { + "operation": "boost", + "score": 0.11744704097509384 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.20712918043136597 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11976034194231033 + }, + "else": { + "operation": "boost", + "score": 0.06400945037603378 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10122677683830261 + } + }, + "else": { + "operation": "boost", + "score": -0.014625889249145985 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.006731374189257622 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.1319519579410553 + }, + "else": { + "operation": "boost", + "score": 0.08207578212022781 + } + }, + "else": { + "operation": "boost", + "score": 0.3782656788825989 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.031517356634140015 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010059899650514126 + } + } + } + }, + { + "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": "boost", + "score": 0.0040860408917069435 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05100317299365997 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12126302719116211 + }, + "else": { + "operation": "boost", + "score": 0.1194533035159111 + } + }, + "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": "NumReferences", + "threshold": 102.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10863959044218063 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 173.0, + "then": { + "operation": "boost", + "score": 0.06566689163446426 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "boost", + "score": 0.1473826915025711 + }, + "else": { + "operation": "boost", + "score": -0.10123852640390396 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 209.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 410.0, + "then": { + "operation": "boost", + "score": 0.10701757669448853 + }, + "else": { + "operation": "boost", + "score": 0.10977789759635925 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 418.0, + "then": { + "operation": "boost", + "score": -0.18348552286624908 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.1248069554567337 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 265.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.3879706561565399 + }, + "else": { + "operation": "boost", + "score": 0.13136827945709229 + } + }, + "else": { + "operation": "boost", + "score": -0.2736697494983673 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 177.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.5, + "then": { + "operation": "boost", + "score": 0.01982363499701023 + }, + "else": { + "operation": "boost", + "score": 0.10666634887456894 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 114.5, + "then": { + "operation": "boost", + "score": -0.16235217452049255 + }, + "else": { + "operation": "boost", + "score": 0.08938118815422058 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, + "then": { + "operation": "boost", + "score": 0.09081569314002991 + }, + "else": { + "operation": "boost", + "score": 0.06529204547405243 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 358.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 397.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.42970868945121765 + }, + "else": { + "operation": "boost", + "score": -0.0028714328072965145 + } + }, + "else": { + "operation": "boost", + "score": 0.11061673611402512 + } + }, + "else": { + "operation": "boost", + "score": -0.1353393793106079 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00425031827762723 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 91.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06126656010746956 + }, + "else": { + "operation": "boost", + "score": -0.2137952297925949 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.25823974609375 + }, + "else": { + "operation": "boost", + "score": 0.11739795655012131 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.002016125014051795 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10115474462509155 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.10690949857234955 + }, + "else": { + "operation": "boost", + "score": -0.10576512664556503 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03081132471561432 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.0016678011743351817 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10961299389600754 + }, + "else": { + "operation": "boost", + "score": -0.09385598450899124 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.02412078157067299 + }, + "else": { + "operation": "boost", + "score": 0.09365956485271454 + } + }, + "else": { + "operation": "boost", + "score": -0.5913845300674438 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.16360053420066833 + }, + "else": { + "operation": "boost", + "score": 0.12202397733926773 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.012749644927680492 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.0, + "then": { + "operation": "boost", + "score": 0.08545093983411789 + }, + "else": { + "operation": "boost", + "score": 0.10554836690425873 + } + }, + "else": { + "operation": "boost", + "score": -0.19353646039962769 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.05284162983298302 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": 0.12349210679531097 + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.12628573179244995 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02904251404106617 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01802479289472103 + } + }, + "else": { + "operation": "boost", + "score": 0.04028227552771568 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03279542550444603 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.027340248227119446 + }, + "else": { + "operation": "boost", + "score": -0.009629069827497005 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50001.5, + "then": { + "operation": "boost", + "score": -0.20975521206855774 + }, + "else": { + "operation": "boost", + "score": 0.11111106723546982 + } + }, + "else": { + "operation": "boost", + "score": -0.002864178968593478 + } + }, + "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.027062715962529182 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.09585056453943253 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09758764505386353 + }, + "else": { + "operation": "boost", + "score": -0.12862595915794373 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13526128232479095 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0015333074843510985 + } + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.000975010683760047 + }, + "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_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 798.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.05861863121390343 + }, + "else": { + "operation": "boost", + "score": 0.1323157399892807 + } + }, + "else": { + "operation": "boost", + "score": 0.016445599496364594 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.11357511579990387 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 905.5, + "then": { + "operation": "boost", + "score": 0.12398086488246918 + }, + "else": { + "operation": "boost", + "score": 0.10386794805526733 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.015319506637752056 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.09055566042661667 + }, + "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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 118.5, + "then": { + "operation": "boost", + "score": 0.034549564123153687 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006424561142921448 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 117.5, + "then": { + "operation": "boost", + "score": 0.12408068031072617 + }, + "else": { + "operation": "boost", + "score": -0.26927193999290466 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "boost", + "score": -0.03599679470062256 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.1167653501033783 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05581056699156761 + }, + "else": { + "operation": "boost", + "score": 0.12517273426055908 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10077773034572601 + }, + "else": { + "operation": "boost", + "score": 0.1509220451116562 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.12513898313045502 + }, + "else": { + "operation": "boost", + "score": -0.20507517457008362 + } + }, + "else": { + "operation": "boost", + "score": 0.03634012117981911 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06528189778327942 + } + }, + "else": { + "operation": "boost", + "score": -0.42317888140678406 + } + }, + "else": { + "operation": "boost", + "score": 0.009880897589027882 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.020993247628211975 + }, + "else": { + "operation": "boost", + "score": 0.013431164436042309 + } + } + }, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0016565419500693679 + }, + "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": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.020075347274541855 + }, + "else": { + "operation": "boost", + "score": -0.01858597621321678 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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": "boost", + "score": -0.0204244963824749 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.028914587572216988 + }, + "else": { + "operation": "boost", + "score": -0.567889392375946 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007181301712989807 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.025967521592974663 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.07669524103403091 + }, + "else": { + "operation": "boost", + "score": 0.03556342050433159 + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09836668521165848 + }, + "else": { + "operation": "boost", + "score": 0.04252319037914276 + } + } + }, + "else": { + "operation": "boost", + "score": 0.014324191026389599 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.10204538702964783 + }, + "else": { + "operation": "boost", + "score": -0.16897962987422943 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.027305517345666885 + }, + "else": { + "operation": "boost", + "score": -0.5956607460975647 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07911326736211777 + }, + "else": { + "operation": "boost", + "score": 0.04321647062897682 + } + } + } + }, + "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.07254283875226974 + }, + "else": { + "operation": "boost", + "score": 0.11057257652282715 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.12489387392997742 + }, + "else": { + "operation": "boost", + "score": -0.05597695708274841 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.4021451771259308 + }, + "else": { + "operation": "boost", + "score": 0.02654227428138256 + } + }, + "else": { + "operation": "boost", + "score": -0.08518363535404205 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14000959694385529 + }, + "else": { + "operation": "boost", + "score": 0.07683981955051422 + } + }, + "else": { + "operation": "boost", + "score": 0.023050393909215927 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0203473549336195 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004813869949430227 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Namespace", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.018787331879138947 + }, + "else": { + "operation": "boost", + "score": -0.01135561615228653 + } + } + } + }, + "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": 235.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 236.5, + "then": { + "operation": "boost", + "score": 0.040718868374824524 + }, + "else": { + "operation": "boost", + "score": 0.11061708629131317 + } + }, + "else": { + "operation": "boost", + "score": -0.0012006019242107868 + } + }, + "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_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.019740892574191093 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014266890473663807 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013806596398353577 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014500752091407776 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020584939047694206 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.042172666639089584 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.026596084237098694 + }, + "else": { + "operation": "boost", + "score": 0.020639684051275253 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004083011765033007 + } + }, + "else": { + "operation": "boost", + "score": -0.007515851408243179 + } + } + } + }, + { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1229403167963028 + }, + "else": { + "operation": "boost", + "score": 0.10090207308530807 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 196.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18951.5, + "then": { + "operation": "boost", + "score": 0.09428996592760086 + }, + "else": { + "operation": "boost", + "score": 0.002824341179803014 + } + }, + "else": { + "operation": "boost", + "score": 0.064419686794281 + } + }, + "else": { + "operation": "boost", + "score": -0.07008306682109833 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.11843232065439224 + }, + "else": { + "operation": "boost", + "score": -0.30395692586898804 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10954538732767105 + }, + "else": { + "operation": "boost", + "score": -0.363033264875412 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.19917458295822144 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.11355986446142197 + }, + "else": { + "operation": "boost", + "score": 0.1162668764591217 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07701729238033295 + }, + "else": { + "operation": "boost", + "score": -0.1843447983264923 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.09488093852996826 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10008.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15737.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.03353814035654068 + }, + "else": { + "operation": "boost", + "score": 0.0765404999256134 + } + }, + "else": { + "operation": "boost", + "score": 0.03222159668803215 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.0, + "then": { + "operation": "boost", + "score": 0.09886626154184341 + }, + "else": { + "operation": "boost", + "score": 0.06792876869440079 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13638.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13189.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10664945095777512 + }, + "else": { + "operation": "boost", + "score": 0.11615192890167236 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.08254354447126389 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.12517762184143066 + }, + "else": { + "operation": "boost", + "score": -0.05965185537934303 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02047043666243553 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6228.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6390.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6952.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.10714388638734818 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10254687815904617 + }, + "else": { + "operation": "boost", + "score": 0.018825113773345947 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10375705361366272 + }, + "else": { + "operation": "boost", + "score": -0.10297545790672302 + } + }, + "else": { + "operation": "boost", + "score": 0.10539103299379349 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.016120634973049164 + }, + "else": { + "operation": "boost", + "score": 0.0007097809575498104 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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, + "then": { + "operation": "boost", + "score": 0.008586992509663105 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022016244009137154 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.5, + "then": { + "operation": "boost", + "score": -0.03818704932928085 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.27599430084228516 + }, + "else": { + "operation": "boost", + "score": -1.0094213485717773 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "boost", + "score": -0.11530662328004837 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.18120990693569183 + }, + "else": { + "operation": "boost", + "score": -0.6687955260276794 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.10975965112447739 + }, + "else": { + "operation": "boost", + "score": -0.024143975228071213 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09059454500675201 + }, + "else": { + "operation": "boost", + "score": 0.18648891150951385 + } + }, + "else": { + "operation": "boost", + "score": -0.10216221958398819 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.048160601407289505 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.10024794936180115 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.001457752427086234 + }, + "else": { + "operation": "boost", + "score": 0.1759088784456253 + } + }, + "else": { + "operation": "boost", + "score": -0.05346332862973213 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11268580704927444 + }, + "else": { + "operation": "boost", + "score": -0.01411343552172184 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08926776796579361 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.13752694427967072 + }, + "else": { + "operation": "boost", + "score": -0.10306381434202194 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12962010502815247 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.042670004069805145 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.11616802215576172 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.1604427546262741 + }, + "else": { + "operation": "boost", + "score": -0.10013321787118912 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0766998678445816 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0841999351978302 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13324953615665436 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.3404652178287506 + }, + "else": { + "operation": "boost", + "score": 0.17562200129032135 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0073770941235125065 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.028297172859311104 + }, + "else": { + "operation": "boost", + "score": 0.03218458592891693 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0022607690189033747 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00030320740188471973 + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44220.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56010.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87006.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 241916.0, + "then": { + "operation": "boost", + "score": -0.005080800037831068 + }, + "else": { + "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.031170038506388664 + }, + "else": { + "operation": "boost", + "score": 0.09589894115924835 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135000.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.09643654525279999 + }, + "else": { + "operation": "boost", + "score": 0.03219520300626755 + } + }, + "else": { + "operation": "boost", + "score": -0.24182520806789398 + } + }, + "else": { + "operation": "boost", + "score": 0.05716568976640701 + } + }, + "else": { + "operation": "boost", + "score": 0.045781347900629044 + } + } + }, + "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_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0042775701731443405 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10661035776138306 + }, + "else": { + "operation": "boost", + "score": 0.1059848889708519 + } + }, + "else": { + "operation": "boost", + "score": 0.043667327612638474 + } + }, + "else": { + "operation": "boost", + "score": 0.04404235631227493 + } + }, + "else": { + "operation": "boost", + "score": -0.10546102374792099 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0020318222232162952 + } + }, + "else": { + "operation": "boost", + "score": 0.0030051316134631634 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.032257143408060074 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03080577403306961 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.08838606625795364 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.3476030230522156 + }, + "else": { + "operation": "boost", + "score": 0.09627129137516022 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007140643894672394 + } + }, + "else": { + "operation": "boost", + "score": 0.023491108790040016 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024547867476940155 + } + }, + "else": { + "operation": "boost", + "score": 0.021939968690276146 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003373300191015005 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010320539586246014 + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.10547720640897751 + }, + "else": { + "operation": "boost", + "score": 0.10479500144720078 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.017077844589948654 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08870925009250641 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10511624068021774 + }, + "else": { + "operation": "boost", + "score": 0.1638021022081375 + } + } + } + }, + "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": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.10126544535160065 + }, + "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, + "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, + "then": { + "operation": "boost", + "score": 0.10627005994319916 + }, + "else": { + "operation": "boost", + "score": -0.10850479453802109 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": 0.12114181369543076 + }, + "else": { + "operation": "boost", + "score": 0.03946352377533913 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07105601578950882 + }, + "else": { + "operation": "boost", + "score": 0.12441026419401169 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.11478772759437561 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.20796306431293488 + }, + "else": { + "operation": "boost", + "score": 0.1255454272031784 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.37329918146133423 + }, + "else": { + "operation": "boost", + "score": 0.08928424119949341 + } + }, + "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.17326851189136505 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.006465555168688297 + }, + "else": { + "operation": "boost", + "score": -0.5338078141212463 + } + }, + "else": { + "operation": "boost", + "score": 0.08885448426008224 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.035161010921001434 + }, + "else": { + "operation": "boost", + "score": 0.10451091825962067 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6247829794883728 + }, + "else": { + "operation": "boost", + "score": -0.1418672651052475 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55221.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.36789000034332275 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03160719573497772 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09279844164848328 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.09271903336048126 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12241557985544205 + }, + "else": { + "operation": "boost", + "score": 0.05960024520754814 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0729028582572937 + } + } + }, + "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": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.05954200029373169 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.1063922643661499 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.11544003337621689 + }, + "else": { + "operation": "boost", + "score": 0.10922626405954361 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.013585830107331276 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10306458920240402 + }, + "else": { + "operation": "boost", + "score": -0.15484566986560822 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44616.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10348773002624512 + }, + "else": { + "operation": "boost", + "score": 0.11724907904863358 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.31407758593559265 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05893712863326073 + }, + "else": { + "operation": "boost", + "score": 0.21399271488189697 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47903.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52191.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.03209017589688301 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54992.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": "boost", + "score": 0.12699200212955475 + }, + "else": { + "operation": "boost", + "score": -0.14455857872962952 + } + }, + "else": { + "operation": "boost", + "score": 0.13003350794315338 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54992.0, + "then": { + "operation": "boost", + "score": 0.02605310082435608 + }, + "else": { + "operation": "boost", + "score": 0.09650015085935593 + } + }, + "else": { + "operation": "boost", + "score": 0.089845210313797 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07011767476797104 + } + }, + "else": { + "operation": "boost", + "score": -0.047634661197662354 + } + }, + "else": { + "operation": "boost", + "score": -0.07281099259853363 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 47029.0, + "then": { + "operation": "boost", + "score": -0.04938598349690437 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0796281024813652 + }, + "else": { + "operation": "boost", + "score": -0.5461001992225647 + } + }, + "else": { + "operation": "boost", + "score": 0.10995788872241974 + } + } + }, + "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": 45940.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.05739051476120949 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.13952098786830902 + }, + "else": { + "operation": "boost", + "score": 0.5495073199272156 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.051740314811468124 + } + }, + "else": { + "operation": "boost", + "score": -0.14533469080924988 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.24450543522834778 + }, + "else": { + "operation": "boost", + "score": -0.13388939201831818 + } + } + }, + "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": "boost", + "score": 0.25461313128471375 + }, + "else": { + "operation": "boost", + "score": -0.1685439944267273 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 46094.0, + "then": { + "operation": "boost", + "score": 0.011018737219274044 + }, + "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": 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 + } + }, + "else": { + "operation": "boost", + "score": -0.10277454555034637 + } + }, + "else": { + "operation": "boost", + "score": -0.0659947469830513 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.03604484722018242 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48196.5, + "then": { + "operation": "boost", + "score": -0.5063274502754211 + }, + "else": { + "operation": "boost", + "score": -0.17614664137363434 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07181137800216675 + } + }, + "else": { + "operation": "boost", + "score": -0.02362854592502117 + } + } + } + }, + "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": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09077943116426468 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.06838971376419067 + }, + "else": { + "operation": "boost", + "score": 0.09256599098443985 + } + } + }, + "else": { + "operation": "boost", + "score": 0.056899216026067734 + } + }, + "else": { + "operation": "boost", + "score": 0.11088675260543823 + } + }, + "else": { + "operation": "boost", + "score": -0.10771675407886505 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28306.0, + "then": { + "operation": "boost", + "score": 0.007559167221188545 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27939.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.07848429679870605 + }, + "else": { + "operation": "boost", + "score": -0.07883021235466003 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20811.0, + "then": { + "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.11707799136638641 + }, + "else": { + "operation": "boost", + "score": -0.028472842648625374 + } + }, + "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.11080185323953629 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.08797850459814072 + }, + "else": { + "operation": "boost", + "score": 0.07910234481096268 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0236070454120636 + } + }, + "else": { + "operation": "boost", + "score": -0.07527605444192886 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23701.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12994378805160522 + }, + "else": { + "operation": "boost", + "score": 0.11781209707260132 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23486.5, + "then": { + "operation": "boost", + "score": 0.15013918280601501 + }, + "else": { + "operation": "boost", + "score": 0.07941203564405441 + } + }, + "else": { + "operation": "boost", + "score": -0.01741650700569153 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11872614175081253 + } + }, + "else": { + "operation": "boost", + "score": -0.0690341591835022 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005847317166626453 + } + }, + "else": { + "operation": "boost", + "score": 0.0016110349679365754 + } + }, + "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.02155924215912819 + }, + "else": { + "operation": "boost", + "score": 0.08730343729257584 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.0733971893787384 + }, + "else": { + "operation": "boost", + "score": 0.0976308211684227 + } + }, + "else": { + "operation": "boost", + "score": -0.5568772554397583 + } + }, + "else": { + "operation": "boost", + "score": 0.11245057731866837 + } + }, + "else": { + "operation": "boost", + "score": -0.09823950380086899 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07698540389537811 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.2594676613807678 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11450228095054626 + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.05327398702502251 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13903.5, + "then": { + "operation": "boost", + "score": 0.09491704404354095 + }, + "else": { + "operation": "boost", + "score": 0.1115739494562149 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05359259247779846 + } + }, + "else": { + "operation": "boost", + "score": 0.01976933516561985 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.13047584891319275 + }, + "else": { + "operation": "boost", + "score": 0.023359015583992004 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0014305275399237871 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12381359189748764 + }, + "else": { + "operation": "boost", + "score": 0.13623768091201782 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13799.0, + "then": { + "operation": "boost", + "score": -0.04983171820640564 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.17603324353694916 + }, + "else": { + "operation": "boost", + "score": 0.07382868230342865 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.017135754227638245 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.1322789341211319 + }, + "else": { + "operation": "boost", + "score": 0.10729510337114334 + } + }, + "else": { + "operation": "boost", + "score": -0.03081616200506687 + } + }, + "else": { + "operation": "boost", + "score": -0.0010616416111588478 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.11177907884120941 + }, + "else": { + "operation": "boost", + "score": -0.21972252428531647 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "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": 55.5, + "then": { + "operation": "boost", + "score": -0.13169173896312714 + }, + "else": { + "operation": "boost", + "score": 0.10911272466182709 + } + }, + "else": { + "operation": "boost", + "score": -0.12583135068416595 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10306352376937866 + }, + "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, + "then": { + "operation": "boost", + "score": -0.02419387362897396 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "boost", + "score": 0.10270348936319351 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 49.5, + "then": { + "operation": "boost", + "score": -0.4026230573654175 + }, + "else": { + "operation": "boost", + "score": 0.11252067983150482 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.27093926072120667 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03810857981443405 + } + } + }, + "else": { + "operation": "boost", + "score": -0.026866314932703972 + } + } + }, + "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_TopLevel", + "CCC_UnionTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.023897619917988777 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0110985292121768 + }, + "else": { + "operation": "boost", + "score": 0.11612393707036972 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.019483370706439018 + }, + "else": { + "operation": "boost", + "score": -0.011987637728452682 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.1706262081861496 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.003244078252464533 + }, + "else": { + "operation": "boost", + "score": 0.10553515702486038 + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03014051914215088 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.24878592789173126 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 709.0, + "then": { + "operation": "boost", + "score": 0.08225703984498978 + }, + "else": { + "operation": "boost", + "score": -0.1403772234916687 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.0933762639760971 + }, + "else": { + "operation": "boost", + "score": -0.0577283538877964 + } + }, + "else": { + "operation": "boost", + "score": -0.23857997357845306 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.8076781034469604 + }, + "else": { + "operation": "boost", + "score": 0.1203528419137001 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018211526796221733 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.0653216615319252 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0566091388463974 + }, + "else": { + "operation": "boost", + "score": 0.009269531816244125 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_Symbol" + ], + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.05646103248000145 + }, + "else": { + "operation": "boost", + "score": 0.03736450523138046 + } + }, + "else": { + "operation": "boost", + "score": -0.0404619462788105 + } + } + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11165881156921387 + }, + "else": { + "operation": "boost", + "score": 0.11575347185134888 + } + }, + "else": { + "operation": "boost", + "score": -0.15428148210048676 + } + }, + "else": { + "operation": "boost", + "score": 0.03541751205921173 + } + }, + "else": { + "operation": "boost", + "score": 0.03132067248225212 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.001517720171250403 + } + }, + "else": { + "operation": "boost", + "score": 0.0006864411989226937 + } + } + } + }, + { + "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_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.0027706788387149572 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14527.0, + "then": { + "operation": "boost", + "score": 0.05887226015329361 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.5, + "then": { + "operation": "boost", + "score": 0.0611337311565876 + }, + "else": { + "operation": "boost", + "score": 0.006277581211179495 + } + }, + "else": { + "operation": "boost", + "score": -0.012163597159087658 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": 0.0895494595170021 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 36.5, + "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, + "then": { + "operation": "boost", + "score": 0.10676492750644684 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.14436201751232147 + }, + "else": { + "operation": "boost", + "score": 0.07910457998514175 + } + }, + "else": { + "operation": "boost", + "score": -0.41422775387763977 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10970519483089447 + }, + "else": { + "operation": "boost", + "score": -0.11216703057289124 + } + }, + "else": { + "operation": "boost", + "score": 0.12955766916275024 + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013645109720528126 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "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.00965662021189928 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07516738772392273 + }, + "else": { + "operation": "boost", + "score": 0.0325305350124836 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.03915437310934067 + }, + "else": { + "operation": "boost", + "score": 0.06833874434232712 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0037692601326853037 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11573218554258347 + }, + "else": { + "operation": "boost", + "score": -0.01889011822640896 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004347538575530052 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.027430459856987 + }, + "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": 803047.0, + "then": { + "operation": "boost", + "score": 0.11363352090120316 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 200.5, + "then": { + "operation": "boost", + "score": 0.02364310249686241 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07548556476831436 + }, + "else": { + "operation": "boost", + "score": 0.2942626178264618 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, + "then": { + "operation": "boost", + "score": 0.05133170634508133 + }, + "else": { + "operation": "boost", + "score": -0.18780168890953064 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.3705819547176361 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 434.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 443.5, + "then": { + "operation": "boost", + "score": 0.01735188439488411 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.1055978536605835 + }, + "else": { + "operation": "boost", + "score": 0.1500604897737503 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07270660251379013 + }, + "else": { + "operation": "boost", + "score": -0.9460261464118958 + } + }, + "else": { + "operation": "boost", + "score": -0.040007442235946655 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 138.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.023509155958890915 + }, + "else": { + "operation": "boost", + "score": -0.3204147517681122 + } + }, + "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 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.1514783352613449 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.1119154766201973 + }, + "else": { + "operation": "boost", + "score": 0.09094231575727463 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33937.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38351.0, + "then": { + "operation": "boost", + "score": -0.024526894092559814 + }, + "else": { + "operation": "boost", + "score": -0.5746335387229919 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26807.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29053.5, + "then": { + "operation": "boost", + "score": 0.07886775583028793 + }, + "else": { + "operation": "boost", + "score": 0.10426704585552216 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0860087126493454 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.35225731134414673 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.12475225329399109 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.03636220470070839 + }, + "else": { + "operation": "boost", + "score": 0.10427359491586685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.06381695717573166 + }, + "else": { + "operation": "boost", + "score": -0.08613598346710205 + } + } + }, + "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 + } + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.000682963989675045 + } + }, + "else": { + "operation": "boost", + "score": -0.005602180026471615 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009196226601488888 + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.0006120388861745596 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.012199733406305313 + }, + "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.006659344304352999 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04335039108991623 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0056988331489264965 + }, + "else": { + "operation": "boost", + "score": -0.21041809022426605 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 71.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 211.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.24384832382202148 + }, + "else": { + "operation": "boost", + "score": 0.08792392164468765 + } + }, + "else": { + "operation": "boost", + "score": -0.13421300053596497 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 149.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.08501528203487396 + }, + "else": { + "operation": "boost", + "score": -0.06488781422376633 + } + }, + "else": { + "operation": "boost", + "score": 0.1308286488056183 + } + }, + "else": { + "operation": "boost", + "score": 0.060849130153656006 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11181119084358215 + } + }, + "else": { + "operation": "boost", + "score": -0.16890035569667816 + } + }, + "else": { + "operation": "boost", + "score": 0.11890082061290741 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.7585103511810303 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 41.5, + "then": { + "operation": "boost", + "score": -0.3528907001018524 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "boost", + "score": 0.10316689312458038 + }, + "else": { + "operation": "boost", + "score": -0.024975402280688286 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.16401256620883942 + }, + "else": { + "operation": "boost", + "score": 0.0553717315196991 + } + }, + "else": { + "operation": "boost", + "score": 0.12679848074913025 + } + }, + "else": { + "operation": "boost", + "score": 0.11373696476221085 + } + } + }, + "else": { + "operation": "boost", + "score": -0.23923157155513763 + } + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 51.5, + "then": { + "operation": "boost", + "score": -0.009857220575213432 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.08637887984514236 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": 0.12120321393013 + }, + "else": { + "operation": "boost", + "score": 0.14280810952186584 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1539311408996582 + }, + "else": { + "operation": "boost", + "score": 0.006178655195981264 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123.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 + } + }, + "else": { + "operation": "boost", + "score": -0.1365429311990738 + } + }, + "else": { + "operation": "boost", + "score": 0.1169673353433609 + } + }, + "else": { + "operation": "boost", + "score": 0.03628240153193474 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.008224718272686005 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1331147402524948 + }, + "else": { + "operation": "boost", + "score": 0.11403105407953262 + } + }, + "else": { + "operation": "boost", + "score": -0.10284195840358734 + } + } + }, + "else": { + "operation": "boost", + "score": -0.26433587074279785 + } + }, + "else": { + "operation": "boost", + "score": -0.10793466866016388 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13905438780784607 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.0, + "then": { + "operation": "boost", + "score": -0.00028324394952505827 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.13471533358097076 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.14741645753383636 + }, + "else": { + "operation": "boost", + "score": 0.11397668719291687 + } + }, + "else": { + "operation": "boost", + "score": -0.13855808973312378 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.015326444990932941 + } + } + } + }, + "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", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11507229506969452 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.10187766700983047 + }, + "else": { + "operation": "boost", + "score": -0.22639679908752441 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05684380233287811 + } + }, + "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_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.08983249962329865 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05961785092949867 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.08139333873987198 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.0479143001139164 + }, + "else": { + "operation": "boost", + "score": 0.03518708050251007 + } + }, + "else": { + "operation": "boost", + "score": -0.0067888242192566395 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.14794032275676727 + }, + "else": { + "operation": "boost", + "score": -0.11513392627239227 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.12714339792728424 + }, + "else": { + "operation": "boost", + "score": 0.12155710905790329 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08055878430604935 + }, + "else": { + "operation": "boost", + "score": 0.0062709832563996315 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.060152776539325714 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.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 + } + }, + "else": { + "operation": "boost", + "score": 0.02634371444582939 + } + }, + "else": { + "operation": "boost", + "score": 0.03737977147102356 + } + } + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.11519830673933029 + }, + "else": { + "operation": "boost", + "score": -0.020592164248228073 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.09742608666419983 + }, + "else": { + "operation": "boost", + "score": 0.13017421960830688 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06182669475674629 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.014732463285326958 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.049437642097473145 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020320894196629524 + } + }, + "else": { + "operation": "boost", + "score": 0.004766999743878841 + } + } + } + } + }, + { + "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": "NumReferences", + "threshold": 19617.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Symbol" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30221.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33380.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 33949.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34450.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 749331.5, + "then": { + "operation": "boost", + "score": -0.18141546845436096 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.008869582787156105 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35884.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90689.5, + "then": { + "operation": "boost", + "score": 0.013008317910134792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55310.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, + "then": { + "operation": "boost", + "score": 0.07035300135612488 + }, + "else": { + "operation": "boost", + "score": -0.003045102348551154 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12658236920833588 + } + }, + "else": { + "operation": "boost", + "score": 0.10678320378065109 + } + }, + "else": { + "operation": "boost", + "score": 0.008892357349395752 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.061895471066236496 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1753956526517868 + }, + "else": { + "operation": "boost", + "score": 0.1920892298221588 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.0, + "then": { + "operation": "boost", + "score": 0.08628545701503754 + }, + "else": { + "operation": "boost", + "score": 0.10413052141666412 + } + }, + "else": { + "operation": "boost", + "score": -0.060328058898448944 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.17622515559196472 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.37437528371810913 + }, + "else": { + "operation": "boost", + "score": 0.16474579274654388 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28306.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.04625393822789192 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.3100278675556183 + }, + "else": { + "operation": "boost", + "score": 0.11159422993659973 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11171470582485199 + }, + "else": { + "operation": "boost", + "score": 0.09202571958303452 + } + }, + "else": { + "operation": "boost", + "score": 0.1075439378619194 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 29460.5, + "then": { + "operation": "boost", + "score": 0.046905867755413055 + }, + "else": { + "operation": "boost", + "score": 0.14511138200759888 + } + }, + "else": { + "operation": "boost", + "score": -0.020910823717713356 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10197893530130386 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.14879511296749115 + }, + "else": { + "operation": "boost", + "score": 0.014339733868837357 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25461.0, + "then": { + "operation": "boost", + "score": -0.03949502855539322 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23639.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12690314650535583 + }, + "else": { + "operation": "boost", + "score": 0.13843725621700287 + } + }, + "else": { + "operation": "boost", + "score": 0.01373387686908245 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2457391619682312 + }, + "else": { + "operation": "boost", + "score": 0.007261452730745077 + } + } + }, + "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": 25208.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.2135387808084488 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.10066932439804077 + }, + "else": { + "operation": "boost", + "score": 0.1286192238330841 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20618.5, + "then": { + "operation": "boost", + "score": 0.010646147653460503 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20253.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.08055809140205383 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1390630006790161 + }, + "else": { + "operation": "boost", + "score": 0.12959466874599457 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23373.5, + "then": { + "operation": "boost", + "score": -0.3564201295375824 + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 5.400515510700643e-05 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24164.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.12395423650741577 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": -0.11064452677965164 + }, + "else": { + "operation": "boost", + "score": 0.1181657463312149 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.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 + } + }, + "else": { + "operation": "boost", + "score": 0.026913754642009735 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02340761013329029 + } + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.00330327614210546 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.16267859935760498 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.1742006242275238 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87637.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90101.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.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 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.11114523559808731 + }, + "else": { + "operation": "boost", + "score": 0.0665314719080925 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25814.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39761.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2890723645687103 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24785.0, + "then": { + "operation": "boost", + "score": 0.10853607207536697 + }, + "else": { + "operation": "boost", + "score": -0.28882813453674316 + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "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 + }, + "else": { + "operation": "boost", + "score": -0.07031966745853424 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05886754021048546 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.004550247918814421 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.07264520972967148 + }, + "else": { + "operation": "boost", + "score": -0.16622650623321533 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.06810694932937622 + }, + "else": { + "operation": "boost", + "score": 0.09557449072599411 + } + }, + "else": { + "operation": "boost", + "score": -0.10023143142461777 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1001179963350296 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04581988975405693 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0001954099425347522 + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "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.09845439344644547 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015424443408846855 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11258015781641006 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05069490522146225 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.03371460363268852 + }, + "else": { + "operation": "boost", + "score": 0.07519405335187912 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.07188563793897629 + }, + "else": { + "operation": "boost", + "score": 0.09820088744163513 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "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.24054042994976044 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.021533701568841934 + }, + "else": { + "operation": "boost", + "score": 0.008845196105539799 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.05726322904229164 + }, + "else": { + "operation": "boost", + "score": 0.02117631398141384 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0010556982597336173 + }, + "else": { + "operation": "boost", + "score": -0.039977844804525375 + } + } + }, + "else": { + "operation": "boost", + "score": 0.011033469811081886 + } + }, + "else": { + "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_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.017545407637953758 + }, + "else": { + "operation": "boost", + "score": 0.08495671302080154 + } + }, + "else": { + "operation": "boost", + "score": -0.05366760119795799 + } + }, + "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.026160981506109238 + }, + "else": { + "operation": "boost", + "score": -0.02054721675813198 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02987271547317505 + }, + "else": { + "operation": "boost", + "score": -0.029903875663876534 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.020055903121829033 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.011755518615245819 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.005765358451753855 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.11802978813648224 + }, + "else": { + "operation": "boost", + "score": 0.069560706615448 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.004993305541574955 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0009787656599655747 + }, + "else": { + "operation": "boost", + "score": 0.06343639642000198 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.28470379114151 + }, + "else": { + "operation": "boost", + "score": 0.028433144092559814 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11006321758031845 + }, + "else": { + "operation": "boost", + "score": -0.028118696063756943 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.013263133354485035 + } + } + } + }, + "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": { + "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, + "then": { + "operation": "boost", + "score": 0.015322654508054256 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.05992531031370163 + }, + "else": { + "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.03085869364440441 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "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", + "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": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03339536860585213 + }, + "else": { + "operation": "boost", + "score": 0.09281443804502487 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08016549795866013 + }, + "else": { + "operation": "boost", + "score": 0.08235908299684525 + } + } + } + }, + "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", + "set": [ + "CCC_TopLevel", + "CCC_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 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0061941989697515965 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.029046665877103806 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.020920952782034874 + }, + "else": { + "operation": "boost", + "score": 0.05592171475291252 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005820991471409798 + } + }, + "else": { + "operation": "boost", + "score": 0.003441759617999196 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.14077182114124298 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0008700357866473496 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.00013451618724502623 + }, + "else": { + "operation": "boost", + "score": 0.017421960830688477 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.0027128010988235474 + }, + "else": { + "operation": "boost", + "score": -0.01965453289449215 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04270554333925247 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.004923009779304266 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10101278871297836 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.2032768577337265 + }, + "else": { + "operation": "boost", + "score": 0.13157212734222412 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.00185915338806808 + }, + "else": { + "operation": "boost", + "score": 0.01658467948436737 + } + } + } + }, + "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" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.028715599328279495 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "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" + ], + "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": "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + }, + "else": { + "operation": "boost", + "score": -0.022292044013738632 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1172405555844307 + } + }, + "else": { + "operation": "boost", + "score": 0.02167535573244095 + } + }, + "else": { + "operation": "boost", + "score": -0.05693359673023224 + } + } + }, + "else": { + "operation": "boost", + "score": -0.003679281333461404 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0013281316496431828 + } + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0009901419980451465 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Expression", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.011373869143426418 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2368.0, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.04558543488383293 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08129765093326569 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06902720779180527 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.1273723691701889 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004048652946949005 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "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": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.12706826627254486 + }, + "else": { + "operation": "boost", + "score": 0.10739640146493912 + } + }, + "else": { + "operation": "boost", + "score": 0.14480379223823547 + } + }, + "else": { + "operation": "boost", + "score": -0.057046763598918915 + } + }, + "else": { + "operation": "boost", + "score": 0.1563774049282074 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.09513843059539795 + }, + "else": { + "operation": "boost", + "score": 0.035368118435144424 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0477394163608551 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.02846364490687847 + }, + "else": { + "operation": "boost", + "score": 0.012146500870585442 + } + } + }, + "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" + ], + "then": { + "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_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.002508071018382907 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03623943030834198 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.06409037858247757 + }, + "else": { + "operation": "boost", + "score": -0.211253821849823 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.003127327188849449 + }, + "else": { + "operation": "boost", + "score": 0.033678386360406876 + } + }, + "else": { + "operation": "boost", + "score": -0.0024535267148166895 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.020419059321284294 + }, + "else": { + "operation": "boost", + "score": -0.07357524335384369 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "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": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.03128112107515335 + }, + "else": { + "operation": "boost", + "score": 0.10971658676862717 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.08821963518857956 + }, + "else": { + "operation": "boost", + "score": 0.01472923718392849 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.10153945535421371 + }, + "else": { + "operation": "boost", + "score": -0.20965030789375305 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023440297693014145 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.20944948494434357 + }, + "else": { + "operation": "boost", + "score": 0.04355177655816078 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.015113169327378273 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.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.13556315004825592 + }, + "else": { + "operation": "boost", + "score": -0.10158979147672653 + } + }, + "else": { + "operation": "boost", + "score": 0.04572910815477371 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.16331550478935242 + }, + "else": { + "operation": "boost", + "score": -0.1325501650571823 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.24386060237884521 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.3969818651676178 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.1111760139465332 + }, + "else": { + "operation": "boost", + "score": -0.13121497631072998 + } + }, + "else": { + "operation": "boost", + "score": 0.11211644858121872 + } + }, + "else": { + "operation": "boost", + "score": 1.4333211183547974 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.07720305770635605 + } + }, + "else": { + "operation": "boost", + "score": 0.07897025346755981 + } + }, + "else": { + "operation": "boost", + "score": 0.01091771386563778 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028672203421592712 + } + } + }, + "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_Expression", + "CCC_Namespace", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.019974390044808388 + }, + "else": { + "operation": "boost", + "score": -0.008896315470337868 + } + }, + "else": { + "operation": "boost", + "score": -0.054672256112098694 + } + }, + "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", + "set": [ + "Function" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.06260793656110764 + }, + "else": { + "operation": "boost", + "score": 0.10646408051252365 + } + }, + "else": { + "operation": "boost", + "score": 0.013521362096071243 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.03424656018614769 + }, + "else": { + "operation": "boost", + "score": -0.021394286304712296 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.036660995334386826 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.005134377162903547 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.10402600467205048 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11809679865837097 + }, + "else": { + "operation": "boost", + "score": 0.002948763081803918 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05394380912184715 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09758700430393219 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.19034212827682495 + }, + "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.09425437450408936 + }, + "else": { + "operation": "boost", + "score": -0.2379833310842514 + } + } + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.017350653186440468 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.00677234074100852 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10111721605062485 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.13798139989376068 + }, + "else": { + "operation": "boost", + "score": 0.4676905870437622 + } + }, + "else": { + "operation": "boost", + "score": 0.04576866328716278 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.06968830525875092 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12835726141929626 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.08812806010246277 + }, + "else": { + "operation": "boost", + "score": 0.07213050872087479 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.07390864193439484 + }, + "else": { + "operation": "boost", + "score": 0.07989484816789627 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.032768070697784424 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.013449293561279774 + } + }, + "else": { + "operation": "boost", + "score": 0.04099871963262558 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08577081561088562 + }, + "else": { + "operation": "boost", + "score": 0.11405546963214874 + } + } + }, + "else": { + "operation": "boost", + "score": 0.027159737423062325 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00828179344534874 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00662586884573102 + } + } + } + }, + { + "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": 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.06617355346679688 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 278454.0, + "then": { + "operation": "boost", + "score": -0.029918773099780083 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 135000.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 174254.0, + "then": { + "operation": "boost", + "score": 0.06015363335609436 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10805058479309082 + }, + "else": { + "operation": "boost", + "score": -0.1593112200498581 + } + } + }, + "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 + } + }, + "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": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.14634576439857483 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11926443874835968 + }, + "else": { + "operation": "boost", + "score": 0.11854211986064911 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10153178870677948 + } + } + }, + "else": { + "operation": "boost", + "score": 0.1532316356897354 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7430.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.13155460357666016 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7679.5, + "then": { + "operation": "boost", + "score": -0.023712042719125748 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7635.5, + "then": { + "operation": "boost", + "score": 0.10811517387628555 + }, + "else": { + "operation": "boost", + "score": -0.1027878075838089 + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.4904162287712097 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7467.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7475.5, + "then": { + "operation": "boost", + "score": -0.04299258813261986 + }, + "else": { + "operation": "boost", + "score": 0.12951086461544037 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.13120941817760468 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.032549191266298294 + }, + "else": { + "operation": "boost", + "score": 0.0970529168844223 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 243.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 347.5, + "then": { + "operation": "boost", + "score": 0.06665974855422974 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 327.0, + "then": { + "operation": "boost", + "score": 0.1121906116604805 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.07553087919950485 + }, + "else": { + "operation": "boost", + "score": 0.12170633673667908 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11048073321580887 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 166.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 176.0, + "then": { + "operation": "boost", + "score": -0.014472053386271 + }, + "else": { + "operation": "boost", + "score": 0.1366172581911087 + } + }, + "else": { + "operation": "boost", + "score": 0.0035708339419215918 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10.5, + "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 + } + } + } + } + }, + "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": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.080814428627491 + }, + "else": { + "operation": "boost", + "score": 0.1080220565199852 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.0010649629402905703 + }, + "else": { + "operation": "boost", + "score": 0.10964363068342209 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.12479916960000992 + }, + "else": { + "operation": "boost", + "score": -0.16754485666751862 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009275805205106735 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02337905764579773 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.027363525703549385 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.09813867509365082 + }, + "else": { + "operation": "boost", + "score": 0.15737812221050262 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017102310433983803 + }, + "else": { + "operation": "boost", + "score": 0.09886675328016281 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.03545810654759407 + }, + "else": { + "operation": "boost", + "score": -0.33350899815559387 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08368434011936188 + }, + "else": { + "operation": "boost", + "score": 0.0419100783765316 + } + }, + "else": { + "operation": "boost", + "score": 0.04904600605368614 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.003575481940060854 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.036643851548433304 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08831355720758438 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.1254834085702896 + }, + "else": { + "operation": "boost", + "score": -0.060619425028562546 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0388854518532753 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.00018442037981003523 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30847.5, + "then": { + "operation": "boost", + "score": 0.5122619867324829 + }, + "else": { + "operation": "boost", + "score": 0.039271555840969086 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54378.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56138.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.0443684384226799 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76763.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 193454.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199646.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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10117935389280319 + }, + "else": { + "operation": "boost", + "score": 0.1046898290514946 + } + }, + "else": { + "operation": "boost", + "score": 0.006388354115188122 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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" + ], + "then": { + "operation": "boost", + "score": 0.20612303912639618 + }, + "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, + "then": { + "operation": "boost", + "score": 0.07315140962600708 + }, + "else": { + "operation": "boost", + "score": 0.09780459851026535 + } + }, + "else": { + "operation": "boost", + "score": -0.10518748313188553 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.02137790061533451 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 367822.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 + } + }, + "else": { + "operation": "boost", + "score": -0.0065859416499733925 + } + }, + "else": { + "operation": "boost", + "score": -0.02185286581516266 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.028987837955355644 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05915282666683197 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10491319000720978 + }, + "else": { + "operation": "boost", + "score": 0.10250038653612137 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007903383113443851 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24227.5, + "then": { + "operation": "boost", + "score": -0.07129683345556259 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.09956607222557068 + }, + "else": { + "operation": "boost", + "score": -0.18776997923851013 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23281.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.008340029045939445 + }, + "else": { + "operation": "boost", + "score": 0.10494975745677948 + } + }, + "else": { + "operation": "boost", + "score": 0.055020980536937714 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24093.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 4.214407920837402 + }, + "else": { + "operation": "boost", + "score": -0.10342042148113251 + } + }, + "else": { + "operation": "boost", + "score": -0.0014081745175644755 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.003207949921488762 + }, + "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_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 368430.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.04032134637236595 + }, + "else": { + "operation": "boost", + "score": 0.12829339504241943 + } + }, + "else": { + "operation": "boost", + "score": -0.27158376574516296 + } + }, + "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_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.062182314693927765 + }, + "else": { + "operation": "boost", + "score": -0.14426684379577637 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.04726092889904976 + }, + "else": { + "operation": "boost", + "score": -0.5647370219230652 + } + }, + "else": { + "operation": "boost", + "score": 0.06997721642255783 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.8702391386032104 + }, + "else": { + "operation": "boost", + "score": -0.04696481302380562 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07092592865228653 + }, + "else": { + "operation": "boost", + "score": -0.038268137723207474 + } + }, + "else": { + "operation": "boost", + "score": -0.5521790981292725 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Expression", + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.009147221222519875 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 220295.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 58696.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105803.0, + "then": { + "operation": "boost", + "score": 0.008067294023931026 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 93657.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.057156506925821304 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003950114361941814 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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.10068212449550629 + }, + "else": { + "operation": "boost", + "score": 0.11745449900627136 + } + }, + "else": { + "operation": "boost", + "score": 0.5529529452323914 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.0910671278834343 + }, + "else": { + "operation": "boost", + "score": 0.09882833063602448 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.14469404518604279 + }, + "else": { + "operation": "boost", + "score": 0.0773773267865181 + } + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.05637398734688759 + }, + "else": { + "operation": "boost", + "score": 0.0902889221906662 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": 0.08127869665622711 + }, + "else": { + "operation": "boost", + "score": 0.03596659004688263 + } + }, + "else": { + "operation": "boost", + "score": 0.09047197550535202 + } + }, + "else": { + "operation": "boost", + "score": 0.10021238774061203 + } + } + }, + "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.09260857850313187 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.2169046252965927 + }, + "else": { + "operation": "boost", + "score": 0.003408930730074644 + } + } + } + }, + "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 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.06464048475027084 + }, + "else": { + "operation": "boost", + "score": 0.09223390370607376 + } + }, + "else": { + "operation": "boost", + "score": -0.10020843893289566 + } + }, + "else": { + "operation": "boost", + "score": 0.10719145834445953 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "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" + ], + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -3.940643310546875 + }, + "else": { + "operation": "boost", + "score": -0.04089997708797455 + } + } + } + }, + "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_ArrowMemberAccess", + "CCC_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.10974472016096115 + }, + "else": { + "operation": "boost", + "score": -0.4549018442630768 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.008114750497043133 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10170788317918777 + }, + "else": { + "operation": "boost", + "score": 0.03070782870054245 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.003404288087040186 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09665561467409134 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.10346914082765579 + }, + "else": { + "operation": "boost", + "score": -0.45157912373542786 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.18534332513809204 + }, + "else": { + "operation": "boost", + "score": 0.060887061059474945 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2054421305656433 + }, + "else": { + "operation": "boost", + "score": -1.2807255983352661 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.06349170953035355 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type" + ], + "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" + ], + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.5122360587120056 + }, + "else": { + "operation": "boost", + "score": 0.06808525323867798 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.08640020340681076 + }, + "else": { + "operation": "boost", + "score": 0.11077902466058731 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.06361791491508484 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13157738745212555 + }, + "else": { + "operation": "boost", + "score": -0.16751250624656677 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1431531012058258 + }, + "else": { + "operation": "boost", + "score": 0.08608497679233551 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess" + ], + "then": { + "operation": "boost", + "score": 0.10290302336215973 + }, + "else": { + "operation": "boost", + "score": -0.026238422840833664 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -2.618340113258455e-05 + }, + "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 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.03951895982027054 + }, + "else": { + "operation": "boost", + "score": 0.08022478222846985 + } + }, + "else": { + "operation": "boost", + "score": 0.013127823360264301 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "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": 1.5, + "then": { + "operation": "boost", + "score": 0.009973232634365559 + }, + "else": { + "operation": "boost", + "score": -0.009335297159850597 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11835873126983643 + }, + "else": { + "operation": "boost", + "score": 0.02085743099451065 + } + }, + "else": { + "operation": "boost", + "score": 0.01134649571031332 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11398080736398697 + }, + "else": { + "operation": "boost", + "score": -0.1257665455341339 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.1026143729686737 + }, + "else": { + "operation": "boost", + "score": -0.09979057312011719 + } + }, + "else": { + "operation": "boost", + "score": -0.09630095213651657 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.02709249220788479 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09144847095012665 + } + }, + "else": { + "operation": "boost", + "score": 0.009421064518392086 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0819125548005104 + }, + "else": { + "operation": "boost", + "score": 0.15141165256500244 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.007676989305764437 + }, + "else": { + "operation": "boost", + "score": 0.08132891356945038 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.04480673000216484 + }, + "else": { + "operation": "boost", + "score": -0.6268917918205261 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 39.0, + "then": { + "operation": "boost", + "score": 0.10917715728282928 + }, + "else": { + "operation": "boost", + "score": -0.04653449356555939 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04068763926625252 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.035948701202869415 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.21312466263771057 + } + }, + "else": { + "operation": "boost", + "score": -0.13970398902893066 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.32077544927597046 + }, + "else": { + "operation": "boost", + "score": 0.11280641704797745 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.07863742858171463 + }, + "else": { + "operation": "boost", + "score": -0.13267722725868225 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24540358781814575 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11831843852996826 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.03516902029514313 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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, + "then": { + "operation": "boost", + "score": -0.1153220683336258 + }, + "else": { + "operation": "boost", + "score": 0.0650738999247551 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.022694038227200508 + }, + "else": { + "operation": "boost", + "score": -0.08360619097948074 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.04714113846421242 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": 0.05464788153767586 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.021779965609312057 + }, + "else": { + "operation": "boost", + "score": -0.1318306028842926 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.12808063626289368 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09801319241523743 + }, + "else": { + "operation": "boost", + "score": 0.04671525955200195 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.07954800873994827 + }, + "else": { + "operation": "boost", + "score": 0.11275476962327957 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.08706658333539963 + }, + "else": { + "operation": "boost", + "score": -0.16717854142189026 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.027312546968460083 + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006908330600708723 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "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_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.10966154932975769 + }, + "else": { + "operation": "boost", + "score": 0.09735822677612305 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10136473178863525 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": -0.6526592373847961 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09996836632490158 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11480825394392014 + }, + "else": { + "operation": "boost", + "score": 0.09199493378400803 + } + }, + "else": { + "operation": "boost", + "score": 0.06922734528779984 + } + }, + "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 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10859173536300659 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02120138518512249 + }, + "else": { + "operation": "boost", + "score": 0.10878568142652512 + } + }, + "else": { + "operation": "boost", + "score": 0.00955448392778635 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.0049671693705022335 + }, + "else": { + "operation": "boost", + "score": 0.060739915817976 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.014908275566995144 + }, + "else": { + "operation": "boost", + "score": 0.0540304109454155 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05471184104681015 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.022414831444621086 + }, + "else": { + "operation": "boost", + "score": -0.07493671029806137 + } + }, + "else": { + "operation": "boost", + "score": -0.009463527239859104 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1524832546710968 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.12243907153606415 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 299.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 319.5, + "then": { + "operation": "boost", + "score": 0.039430417120456696 + }, + "else": { + "operation": "boost", + "score": 0.11011479794979095 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.20664094388484955 + }, + "else": { + "operation": "boost", + "score": -0.10217065364122391 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.07461510598659515 + } + }, + "else": { + "operation": "boost", + "score": -0.03686492517590523 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0008027059375308454 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.021350396797060966 + }, + "else": { + "operation": "boost", + "score": 0.007999788038432598 + } + }, + "else": { + "operation": "boost", + "score": -0.0034238831140100956 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.018510062247514725 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.10510807484388351 + }, + "else": { + "operation": "boost", + "score": 0.13462255895137787 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.13130781054496765 + }, + "else": { + "operation": "boost", + "score": -0.012094362638890743 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07563599199056625 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026204919442534447 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0697990357875824 + }, + "else": { + "operation": "boost", + "score": 0.40580064058303833 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.18624624609947205 + }, + "else": { + "operation": "boost", + "score": 0.04122348129749298 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.01053925696760416 + } + }, + "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.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" + ], + "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": 4.0, + "then": { + "operation": "boost", + "score": 0.08173468708992004 + }, + "else": { + "operation": "boost", + "score": 0.0974292904138565 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11224260926246643 + }, + "else": { + "operation": "boost", + "score": -0.1836588829755783 + } + } + }, + "else": { + "operation": "boost", + "score": -0.012577817775309086 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.11424868553876877 + }, + "else": { + "operation": "boost", + "score": -0.019501402974128723 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005397902335971594 + } + } + } + }, + "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": "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "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.10230459272861481 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.018807755783200264 + }, + "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": 27.5, + "then": { + "operation": "boost", + "score": -0.17293007671833038 + }, + "else": { + "operation": "boost", + "score": 0.007403385825455189 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": 0.07082090526819229 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12804409861564636 + }, + "else": { + "operation": "boost", + "score": 0.08678597956895828 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.097381591796875 + }, + "else": { + "operation": "boost", + "score": 0.07622513920068741 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0739942267537117 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.09274902194738388 + }, + "else": { + "operation": "boost", + "score": 0.10000289976596832 + } + }, + "else": { + "operation": "boost", + "score": 0.022986194118857384 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.04347195103764534 + }, + "else": { + "operation": "boost", + "score": 0.00779420230537653 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.05833309143781662 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02989538013935089 + } + }, + "else": { + "operation": "boost", + "score": -0.031383708119392395 + } + }, + "else": { + "operation": "boost", + "score": 0.016594117507338524 + } + } + }, + "else": { + "operation": "boost", + "score": -0.011235899291932583 + } + }, + "else": { + "operation": "boost", + "score": -0.006753577850759029 + } + } + } + }, + { + "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": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.083079032599926 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.014052352868020535 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.07530509680509567 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.043230436742305756 + }, + "else": { + "operation": "boost", + "score": 0.005294138565659523 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0016200767131522298 + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11684640496969223 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.009837576188147068 + }, + "else": { + "operation": "boost", + "score": -0.06492151319980621 + } + }, + "else": { + "operation": "boost", + "score": -0.013879465870559216 + } + } + } + } + }, + "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": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.02089175023138523 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.046231627464294434 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08312266319990158 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.09155154228210449 + }, + "else": { + "operation": "boost", + "score": 0.014301321469247341 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.01155957579612732 + } + }, + "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": "boost", + "score": 0.00023989807232283056 + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.010329179465770721 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.034300945699214935 + }, + "else": { + "operation": "boost", + "score": -0.05273027345538139 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08229140192270279 + }, + "else": { + "operation": "boost", + "score": 0.08073920011520386 + } + }, + "else": { + "operation": "boost", + "score": 0.02181265316903591 + } + } + }, + "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": 9.5, + "then": { + "operation": "boost", + "score": -0.1160278245806694 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.02958693541586399 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.09020499885082245 + }, + "else": { + "operation": "boost", + "score": -0.13412663340568542 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.07709922641515732 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05119593068957329 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 1.709137201309204 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.049451787024736404 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.016560358926653862 + }, + "else": { + "operation": "boost", + "score": -0.6901286840438843 + } + }, + "else": { + "operation": "boost", + "score": 0.04554154351353645 + } + }, + "else": { + "operation": "boost", + "score": -0.04631451889872551 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.0, + "then": { + "operation": "boost", + "score": -0.25884947180747986 + }, + "else": { + "operation": "boost", + "score": 0.08769199997186661 + } + }, + "else": { + "operation": "boost", + "score": -0.14367160201072693 + } + }, + "else": { + "operation": "boost", + "score": 0.11836113035678864 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.16278283298015594 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.13903987407684326 + }, + "else": { + "operation": "boost", + "score": 0.10517992824316025 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11978145688772202 + }, + "else": { + "operation": "boost", + "score": 0.053059469908475876 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012550842948257923 + } + }, + "else": { + "operation": "boost", + "score": 0.1199088916182518 + } + }, + "else": { + "operation": "boost", + "score": 0.016244756057858467 + } + } + }, + "else": { + "operation": "boost", + "score": -0.004419705830514431 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.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_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 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.060895539820194244 + }, + "else": { + "operation": "boost", + "score": -0.7345890402793884 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 265.5, + "then": { + "operation": "boost", + "score": 0.03806883096694946 + }, + "else": { + "operation": "boost", + "score": 0.10249609500169754 + } + }, + "else": { + "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": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07382979989051819 + }, + "else": { + "operation": "boost", + "score": 0.10816443711519241 + } + }, + "else": { + "operation": "boost", + "score": 0.030647145584225655 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.05327184125781059 + }, + "else": { + "operation": "boost", + "score": -4.63397741317749 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.030265450477600098 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 60.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 108.5, + "then": { + "operation": "boost", + "score": 0.017691414803266525 + }, + "else": { + "operation": "boost", + "score": 0.0974155142903328 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10453355312347412 + }, + "else": { + "operation": "boost", + "score": -0.1175055280327797 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.0, + "then": { + "operation": "boost", + "score": 0.04750930145382881 + }, + "else": { + "operation": "boost", + "score": 0.10119643807411194 + } + }, + "else": { + "operation": "boost", + "score": 0.045102622359991074 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.02650492638349533 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.13057675957679749 + }, + "else": { + "operation": "boost", + "score": 0.09310086816549301 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.17335174977779388 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.024004129692912102 + }, + "else": { + "operation": "boost", + "score": -0.17903020977973938 + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0111941983923316 + }, + "else": { + "operation": "boost", + "score": 0.08488732576370239 + } + }, + "else": { + "operation": "boost", + "score": 0.02155298739671707 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 50002.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.008871289901435375 + }, + "else": { + "operation": "boost", + "score": 0.06411299854516983 + } + }, + "else": { + "operation": "boost", + "score": -0.05755267292261124 + } + }, + "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", + "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, + "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": "boost", + "score": 0.07003530114889145 + }, + "else": { + "operation": "boost", + "score": -0.13095438480377197 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": 0.06141325831413269 + }, + "else": { + "operation": "boost", + "score": 0.0890730768442154 + } + }, + "else": { + "operation": "boost", + "score": -0.1001843512058258 + } + }, + "else": { + "operation": "boost", + "score": 0.10480304807424545 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.043225839734077454 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.0009461934678256512 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "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": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.0364568866789341 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.11102798581123352 + }, + "else": { + "operation": "boost", + "score": 0.16247549653053284 + } + }, + "else": { + "operation": "boost", + "score": -0.004957585129886866 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.088058702647686 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.11335906386375427 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.19301943480968475 + }, + "else": { + "operation": "boost", + "score": -0.38619866967201233 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0685296505689621 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.054338354617357254 + } + }, + "else": { + "operation": "boost", + "score": 0.024053271859884262 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.047954294830560684 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.0, + "then": { + "operation": "boost", + "score": -0.3524135649204254 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.07395229488611221 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.0440908744931221 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.11135061830282211 + }, + "else": { + "operation": "boost", + "score": 0.061724476516246796 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.02543254755437374 + }, + "else": { + "operation": "boost", + "score": 0.1059306263923645 + } + }, + "else": { + "operation": "boost", + "score": -0.017376648262143135 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03005489893257618 + }, + "else": { + "operation": "boost", + "score": -0.32872849702835083 + } + } + } + }, + "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 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.06605306267738342 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.0, + "then": { + "operation": "boost", + "score": 0.11131633073091507 + }, + "else": { + "operation": "boost", + "score": 0.10749033093452454 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04329223930835724 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.012478095479309559 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10165580362081528 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.16363602876663208 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.12833274900913239 + }, + "else": { + "operation": "boost", + "score": 0.06295982748270035 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.040884196758270264 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.15003632009029388 + }, + "else": { + "operation": "boost", + "score": 0.1316266506910324 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.0952393114566803 + }, + "else": { + "operation": "boost", + "score": 0.09589103609323502 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.030017206445336342 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.012295255437493324 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.023790685459971428 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.07240544259548187 + }, + "else": { + "operation": "boost", + "score": 0.15759646892547607 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.011651336215436459 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.000545621442142874 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0514364130795002 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13497522473335266 + }, + "else": { + "operation": "boost", + "score": 0.10433309525251389 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10570857673883438 + }, + "else": { + "operation": "boost", + "score": 0.014582005329430103 + } + } + }, + "else": { + "operation": "boost", + "score": 0.02963270992040634 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.11746414750814438 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5138.5, + "then": { + "operation": "boost", + "score": 0.1169474720954895 + }, + "else": { + "operation": "boost", + "score": 0.03574040159583092 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "boost", + "score": 0.1215340718626976 + }, + "else": { + "operation": "boost", + "score": 0.06550786644220352 + } + }, + "else": { + "operation": "boost", + "score": 0.07558061182498932 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026300743222236633 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 379.0, + "then": { + "operation": "boost", + "score": -0.13178598880767822 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 363.0, + "then": { + "operation": "boost", + "score": 0.11468814313411713 + }, + "else": { + "operation": "boost", + "score": 0.11862736940383911 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0705951675772667 + } + } + }, + "else": { + "operation": "boost", + "score": 0.038917865604162216 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020916946232318878 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10834988206624985 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.12386451661586761 + }, + "else": { + "operation": "boost", + "score": -0.10210996121168137 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0036779565270990133 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09801346063613892 + }, + "else": { + "operation": "boost", + "score": 0.017787180840969086 + } + }, + "else": { + "operation": "boost", + "score": -0.0013088551349937916 + } + } + } + }, + "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 + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "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": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "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 + }, + "else": { + "operation": "boost", + "score": -0.0017675727140158415 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.07724881917238235 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.03613607957959175 + }, + "else": { + "operation": "boost", + "score": -0.2862619161605835 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.023578671738505363 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.054542701691389084 + }, + "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": "boost", + "score": 0.000589344184845686 + }, + "else": { + "operation": "boost", + "score": -0.172496035695076 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01059635914862156 + } + } + }, + "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_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 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "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, + "then": { + "operation": "boost", + "score": -0.0006055812700651586 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.019268333911895752 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.050979841500520706 + }, + "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.03231193497776985 + }, + "else": { + "operation": "boost", + "score": -0.06194676458835602 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.06995173543691635 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.06993742287158966 + }, + "else": { + "operation": "boost", + "score": 0.003793092677369714 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0014977193204686046 + } + }, + "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_ArrowMemberAccess" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.10429619252681732 + }, + "else": { + "operation": "boost", + "score": 0.06756380945444107 + } + }, + "else": { + "operation": "boost", + "score": 0.003844571067020297 + } + }, + "else": { + "operation": "boost", + "score": 0.007901434786617756 + } + }, + "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.007032054476439953 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "boost", + "score": 0.054730262607336044 + }, + "else": { + "operation": "boost", + "score": -0.2281092256307602 + } + } + } + } + }, + "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" + ], + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.002279141219332814 + }, + "else": { + "operation": "boost", + "score": -0.006674622651189566 + } + }, + "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, + "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": 1.5, + "then": { + "operation": "boost", + "score": -0.0038072664756327868 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.0739835575222969 + }, + "else": { + "operation": "boost", + "score": 0.027198772877454758 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06382779031991959 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.1052829697728157 + }, + "else": { + "operation": "boost", + "score": -0.10374985635280609 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.012251995503902435 + }, + "else": { + "operation": "boost", + "score": 0.1042201966047287 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "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.037580978125333786 + }, + "else": { + "operation": "boost", + "score": 0.07745721936225891 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.16006039083003998 + }, + "else": { + "operation": "boost", + "score": 0.118615061044693 + } + }, + "else": { + "operation": "boost", + "score": 0.021716494113206863 + } + } + }, + "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 + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0508069209754467 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02851768396794796 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.11015958338975906 + }, + "else": { + "operation": "boost", + "score": 0.131010040640831 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11478686332702637 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.09957076609134674 + }, + "else": { + "operation": "boost", + "score": 0.03130451589822769 + } + } + }, + "else": { + "operation": "boost", + "score": 0.020928846672177315 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.015702173113822937 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.06303543597459793 + }, + "else": { + "operation": "boost", + "score": 0.07260646671056747 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01717005856335163 + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Keyword", + "Macro", + "Type" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.021480826660990715 + } + }, + "else": { + "operation": "boost", + "score": -0.02169961854815483 + } + } + }, + "else": { + "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": "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11207365989685059 + }, + "else": { + "operation": "boost", + "score": -0.001997982384636998 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.030657730996608734 + }, + "else": { + "operation": "boost", + "score": 0.12949185073375702 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.04463246092200279 + }, + "else": { + "operation": "boost", + "score": -0.015112634748220444 + } + } + }, + "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", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.008396095596253872 + }, + "else": { + "operation": "boost", + "score": 0.0466277189552784 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.00948970764875412 + } + } + }, + "else": { + "operation": "boost", + "score": 0.009626786224544048 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0005338435294106603 + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1316.5, + "then": { + "operation": "boost", + "score": 0.12127558887004852 + }, + "else": { + "operation": "boost", + "score": -0.049946378916502 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.11507517844438553 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.5064374804496765 + } + } + } + }, + "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": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.019692813977599144 + }, + "else": { + "operation": "boost", + "score": -0.00037760150735266507 + } + }, + "else": { + "operation": "boost", + "score": -0.05457569658756256 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04078356549143791 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.0073581780306994915 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.01684933714568615 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.10258501023054123 + }, + "else": { + "operation": "boost", + "score": 0.12485863268375397 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1016879454255104 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.19766861200332642 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.12249098718166351 + }, + "else": { + "operation": "boost", + "score": 0.10680898278951645 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013351618312299252 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.16103452444076538 + }, + "else": { + "operation": "boost", + "score": 0.06521724909543991 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.14994187653064728 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.11587820202112198 + }, + "else": { + "operation": "boost", + "score": 0.030573707073926926 + } + }, + "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.03375563770532608 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.1091930940747261 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.09226524084806442 + }, + "else": { + "operation": "boost", + "score": 0.20199929177761078 + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.04255467653274536 + }, + "else": { + "operation": "boost", + "score": -0.024522989988327026 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.8730816841125488 + }, + "else": { + "operation": "boost", + "score": -0.040964726358652115 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.04647289216518402 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.14921818673610687 + }, + "else": { + "operation": "boost", + "score": 0.05758265033364296 + } + } + } + } + } + } + } + } + } + }, + "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" + ], + "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.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 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11625707894563675 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69564.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "boost", + "score": 0.003087516874074936 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.10855317860841751 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 213.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 229.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 530.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.008481187745928764 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.05211372673511505 + }, + "else": { + "operation": "boost", + "score": 0.09843961149454117 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11206109076738358 + } + }, + "else": { + "operation": "boost", + "score": 0.09001943469047546 + } + }, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.015031659975647926 + } + }, + "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": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19905.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26817.0, + "then": { + "operation": "boost", + "score": -0.07954168319702148 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10552491992712021 + }, + "else": { + "operation": "boost", + "score": 0.11846784502267838 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21097.0, + "then": { + "operation": "boost", + "score": -0.11346893757581711 + }, + "else": { + "operation": "boost", + "score": 0.11124005168676376 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08801829814910889 + }, + "else": { + "operation": "boost", + "score": 0.0025138105265796185 + } + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "boost", + "score": -1.068785548210144 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.06101124361157417 + }, + "else": { + "operation": "boost", + "score": 0.10451976954936981 + } + }, + "else": { + "operation": "boost", + "score": 0.03793645650148392 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06255543231964111 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37666.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 59972.0, + "then": { + "operation": "boost", + "score": 0.013743381015956402 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.09968913346529007 + }, + "else": { + "operation": "boost", + "score": 0.049723874777555466 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0839330404996872 + }, + "else": { + "operation": "boost", + "score": 0.012308978475630283 + } + }, + "else": { + "operation": "boost", + "score": -0.003584279678761959 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "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", + "set": [ + "Variable", + "Namespace" + ], + "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, + "then": { + "operation": "boost", + "score": -0.11472882330417633 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 532.0, + "then": { + "operation": "boost", + "score": -0.16391947865486145 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.0, + "then": { + "operation": "boost", + "score": 0.10409598052501678 + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.09698870033025742 + } + } + } + }, + "else": { + "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": "boost", + "score": 0.12129828333854675 + }, + "else": { + "operation": "boost", + "score": 0.03830109164118767 + } + }, + "else": { + "operation": "boost", + "score": 0.04371891915798187 + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.010911460965871811 + } + }, + "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", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.08030232042074203 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03204137459397316 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1383804827928543 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 474.5, + "then": { + "operation": "boost", + "score": 0.07054737210273743 + }, + "else": { + "operation": "boost", + "score": 0.10718978196382523 + } + }, + "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.03532915934920311 + }, + "else": { + "operation": "boost", + "score": -0.20248271524906158 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023380734026432037 + } + }, + "else": { + "operation": "boost", + "score": -0.16418692469596863 + } + } + }, + "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": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.24288934469223022 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.027537617832422256 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.014905966818332672 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004028548486530781 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1280205.5, + "then": { + "operation": "boost", + "score": -0.2491898387670517 + }, + "else": { + "operation": "boost", + "score": -0.03159649297595024 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11329500377178192 + }, + "else": { + "operation": "boost", + "score": -0.02649044245481491 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.17569078505039215 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.09089867770671844 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 77.5, + "then": { + "operation": "boost", + "score": 0.10385765880346298 + }, + "else": { + "operation": "boost", + "score": 0.12967458367347717 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "boost", + "score": -0.05952995643019676 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.036914244294166565 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10737647116184235 + }, + "else": { + "operation": "boost", + "score": 0.11306329071521759 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10854943096637726 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0006940102321095765 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.5, + "then": { + "operation": "boost", + "score": 0.025177424773573875 + }, + "else": { + "operation": "boost", + "score": 0.10642911493778229 + } + }, + "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 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 73.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.1006675511598587 + }, + "else": { + "operation": "boost", + "score": 0.07017733156681061 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 38.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45.5, + "then": { + "operation": "boost", + "score": -0.04624803736805916 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.03471241146326065 + }, + "else": { + "operation": "boost", + "score": 0.09735191613435745 + } + }, + "else": { + "operation": "boost", + "score": -0.003656388260424137 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": -0.2650761604309082 + }, + "else": { + "operation": "boost", + "score": -0.055493056774139404 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.01993727870285511 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09573715180158615 + }, + "else": { + "operation": "boost", + "score": 0.021550117060542107 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.008903712965548038 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.0682787150144577 + }, + "else": { + "operation": "boost", + "score": -0.06283610314130783 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor" + ], + "then": { + "operation": "boost", + "score": 0.12549757957458496 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12282765656709671 + }, + "else": { + "operation": "boost", + "score": -0.0706193596124649 + } + }, + "else": { + "operation": "boost", + "score": 0.0344260148704052 + } + }, + "else": { + "operation": "boost", + "score": -0.05059975013136864 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.18830908834934235 + }, + "else": { + "operation": "boost", + "score": 0.13782183825969696 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.005890773143619299 + }, + "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_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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.09138806909322739 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.12083983421325684 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.10957615077495575 + }, + "else": { + "operation": "boost", + "score": 0.013134224340319633 + } + } + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.03370872512459755 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.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 + } + }, + "else": { + "operation": "boost", + "score": 0.10564359277486801 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.018322207033634186 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.010560695081949234 + }, + "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.29367557168006897 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.10684090852737427 + }, + "else": { + "operation": "boost", + "score": 0.1278712898492813 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10613522678613663 + } + }, + "else": { + "operation": "boost", + "score": 0.045321814715862274 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.00967495609074831 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.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_UnionTag", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.11657341569662094 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.061623573303222656 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03363693132996559 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007747950032353401 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "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, + "then": { + "operation": "boost", + "score": 0.006570665631443262 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.10065394639968872 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.29710447788238525 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10804516822099686 + }, + "else": { + "operation": "boost", + "score": 0.055677011609077454 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09569783508777618 + } + }, + "else": { + "operation": "boost", + "score": 0.03846238553524017 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 486.5, + "then": { + "operation": "boost", + "score": 0.11564595997333527 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.08069627732038498 + }, + "else": { + "operation": "boost", + "score": -0.4010747969150543 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.056386590003967285 + } + } + }, + "else": { + "operation": "boost", + "score": 0.004612616263329983 + } + } + }, + "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": "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.41679349541664124 + }, + "else": { + "operation": "boost", + "score": 0.021224921569228172 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.02232154831290245 + }, + "else": { + "operation": "boost", + "score": -0.01065128669142723 + } + } + } + } + } + }, + "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.0061685978434979916 + }, + "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": "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0010313353268429637 + }, + "else": { + "operation": "boost", + "score": 0.0734761506319046 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0665421113371849 + }, + "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, + "then": { + "operation": "boost", + "score": -0.020204899832606316 + }, + "else": { + "operation": "boost", + "score": 0.05613863468170166 + } + }, + "else": { + "operation": "boost", + "score": -0.03879866376519203 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08706851303577423 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10170846432447433 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": 0.035251978784799576 + }, + "else": { + "operation": "boost", + "score": 0.14245855808258057 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": -0.10155799239873886 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.12057800590991974 + }, + "else": { + "operation": "boost", + "score": -0.10041846334934235 + } + } + }, + "else": { + "operation": "boost", + "score": -0.31267446279525757 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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 + }, + "else": { + "operation": "boost", + "score": 0.13853323459625244 + } + }, + "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", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09731044620275497 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.012727553024888039 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.031231002882122993 + }, + "else": { + "operation": "boost", + "score": -0.7642579078674316 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": -0.284943550825119 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.05048760026693344 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.10357143729925156 + }, + "else": { + "operation": "boost", + "score": 0.1105470359325409 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1635126769542694 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.045425426214933395 + }, + "else": { + "operation": "boost", + "score": 0.12334752827882767 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.018445907160639763 + }, + "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": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.09668951481580734 + }, + "else": { + "operation": "boost", + "score": 0.00437151687219739 + } + }, + "else": { + "operation": "boost", + "score": -0.6839081048965454 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3542.5, + "then": { + "operation": "boost", + "score": -0.10454827547073364 + }, + "else": { + "operation": "boost", + "score": -1.446914792060852 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 53.5, + "then": { + "operation": "boost", + "score": -0.12056610733270645 + }, + "else": { + "operation": "boost", + "score": 0.045531656593084335 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -1.01575767993927 + }, + "else": { + "operation": "boost", + "score": 0.01576569490134716 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 522.5, + "then": { + "operation": "boost", + "score": -0.09179526567459106 + }, + "else": { + "operation": "boost", + "score": 0.11562490463256836 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 473.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 515.5, + "then": { + "operation": "boost", + "score": 0.004512403160333633 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.01411068718880415 + }, + "else": { + "operation": "boost", + "score": -0.2900601029396057 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 472.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.01574600860476494 + }, + "else": { + "operation": "boost", + "score": 0.1077955961227417 + } + }, + "else": { + "operation": "boost", + "score": 0.04226447269320488 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10133.5, + "then": { + "operation": "boost", + "score": -0.09669402986764908 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7846.5, + "then": { + "operation": "boost", + "score": 0.11430678516626358 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5197.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6307.0, + "then": { + "operation": "boost", + "score": -0.14672362804412842 + }, + "else": { + "operation": "boost", + "score": 0.12661747634410858 + } + }, + "else": { + "operation": "boost", + "score": 0.029143327847123146 + } + } + } + } + } + }, + "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": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.011186100542545319 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.028803860768675804 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 336.5, + "then": { + "operation": "boost", + "score": -0.24366386234760284 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.28853675723075867 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 352.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 364.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.5351725816726685 + }, + "else": { + "operation": "boost", + "score": 0.12582850456237793 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10652969032526016 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.004909174051135778 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 247.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 252.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 254.5, + "then": { + "operation": "boost", + "score": -0.14840739965438843 + }, + "else": { + "operation": "boost", + "score": 0.143167644739151 + } + }, + "else": { + "operation": "boost", + "score": -0.20177589356899261 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10178446024656296 + }, + "else": { + "operation": "boost", + "score": 0.11794399470090866 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003259131917729974 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0009240873623639345 + } + }, + { + "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.09669055044651031 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.08097336441278458 + }, + "else": { + "operation": "boost", + "score": 0.10213609039783478 + } + }, + "else": { + "operation": "boost", + "score": 0.11926402896642685 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.30415505170822144 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.0, + "then": { + "operation": "boost", + "score": -0.21839815378189087 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7295.5, + "then": { + "operation": "boost", + "score": -0.48963475227355957 + }, + "else": { + "operation": "boost", + "score": 0.06835274398326874 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.1383882761001587 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.11002388596534729 + }, + "else": { + "operation": "boost", + "score": 0.1113104373216629 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.21904821693897247 + }, + "else": { + "operation": "boost", + "score": 0.07526396214962006 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "boost", + "score": 0.08010631054639816 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.09015411138534546 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.42069748044013977 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.26291030645370483 + }, + "else": { + "operation": "boost", + "score": 0.07581984996795654 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.017504455521702766 + }, + "else": { + "operation": "boost", + "score": 0.09155987948179245 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.0, + "then": { + "operation": "boost", + "score": 0.04490559548139572 + }, + "else": { + "operation": "boost", + "score": 0.09638509899377823 + } + } + }, + "else": { + "operation": "if_greater", + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.06106359511613846 + }, + "else": { + "operation": "boost", + "score": 0.09667180478572845 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.05093706026673317 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.09638721495866776 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.09759335964918137 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11062833666801453 + }, + "else": { + "operation": "boost", + "score": 0.05821187421679497 + } + }, + "else": { + "operation": "boost", + "score": -0.023798050358891487 + } + }, + "else": { + "operation": "boost", + "score": -0.048290129750967026 + } + }, + "else": { + "operation": "boost", + "score": 0.09574560075998306 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.13920603692531586 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11263824999332428 + }, + "else": { + "operation": "boost", + "score": -0.08018343150615692 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.5796083807945251 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.09491810947656631 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.18388248980045319 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.02128729224205017 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "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": "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 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.062473952770233154 + } + }, + "else": { + "operation": "boost", + "score": -0.029367364943027496 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018435966223478317 + } + }, + "else": { + "operation": "boost", + "score": 0.024841098114848137 + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 67.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 80.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": -0.010331227444112301 + }, + "else": { + "operation": "boost", + "score": 0.11189921945333481 + } + }, + "else": { + "operation": "boost", + "score": 0.10925491899251938 + } + }, + "else": { + "operation": "boost", + "score": 0.024892330169677734 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.002046868670731783 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FileScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0941428616642952 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.0, + "then": { + "operation": "boost", + "score": -0.021534999832510948 + }, + "else": { + "operation": "boost", + "score": 0.08517812192440033 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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_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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "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, + "then": { + "operation": "boost", + "score": -0.4700198471546173 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 589.5, + "then": { + "operation": "boost", + "score": 0.10219992697238922 + }, + "else": { + "operation": "boost", + "score": 0.10625986009836197 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.046455759555101395 + }, + "else": { + "operation": "boost", + "score": 0.11969438940286636 + } + }, + "else": { + "operation": "boost", + "score": -0.8464521765708923 + } + }, + "else": { + "operation": "boost", + "score": -0.044698189944028854 + } + } + } + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10798648744821548 + }, + "else": { + "operation": "boost", + "score": 0.10258720070123672 + } + }, + "else": { + "operation": "boost", + "score": 0.11934676021337509 + } + }, + "else": { + "operation": "boost", + "score": -0.17701475322246552 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.025098111480474472 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.07199208438396454 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55726.0, + "then": { + "operation": "boost", + "score": 0.16464245319366455 + }, + "else": { + "operation": "boost", + "score": 0.09938915073871613 + } + } + } + }, + "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.1104729175567627 + }, + "else": { + "operation": "boost", + "score": 0.10809765011072159 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.09418690949678421 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.023719679564237595 + }, + "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.10568808764219284 + }, + "else": { + "operation": "boost", + "score": -0.10696890205144882 + } + }, + "else": { + "operation": "boost", + "score": 0.09078036993741989 + } + }, + "else": { + "operation": "boost", + "score": 0.02192608080804348 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11662748456001282 + }, + "else": { + "operation": "boost", + "score": 0.07966037094593048 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.05639031156897545 + }, + "else": { + "operation": "boost", + "score": 0.16231097280979156 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.14005480706691742 + } + } + }, + "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_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 45000.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55221.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3301198482513428 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.03002770245075226 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.0910448357462883 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.08998150378465652 + }, + "else": { + "operation": "boost", + "score": 0.03618945926427841 + } + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0873822420835495 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10242664813995361 + }, + "else": { + "operation": "boost", + "score": 0.11673212796449661 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.021832339465618134 + } + }, + "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.06104247644543648 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09413712471723557 + }, + "else": { + "operation": "boost", + "score": 0.09036418795585632 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18404.5, + "then": { + "operation": "boost", + "score": -0.12676650285720825 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13335.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09205305576324463 + }, + "else": { + "operation": "boost", + "score": 0.020698873326182365 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.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 + } + }, + "else": { + "operation": "boost", + "score": 0.012405687011778355 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.10988316684961319 + }, + "else": { + "operation": "boost", + "score": 0.11060675233602524 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 503.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -2.332533597946167 + }, + "else": { + "operation": "boost", + "score": 0.1460726261138916 + } + }, + "else": { + "operation": "boost", + "score": 0.05829619616270065 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.10598921030759811 + } + }, + "else": { + "operation": "boost", + "score": -0.014717615209519863 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5270.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7768.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27933.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28306.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30389.0, + "then": { + "operation": "boost", + "score": -0.13503895699977875 + }, + "else": { + "operation": "boost", + "score": 0.07462847232818604 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.14771875739097595 + }, + "else": { + "operation": "boost", + "score": -0.02762317657470703 + } + }, + "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_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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3202.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 903.5, + "then": { + "operation": "boost", + "score": 0.09045061469078064 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "boost", + "score": -0.15496183931827545 + }, + "else": { + "operation": "boost", + "score": 0.08628371357917786 + } + }, + "else": { + "operation": "boost", + "score": -1.0517091751098633 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11103284358978271 + }, + "else": { + "operation": "boost", + "score": 0.0011441211681813002 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.0, + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.09609415382146835 + } + }, + "else": { + "operation": "boost", + "score": -0.29245004057884216 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 151.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.3265935778617859 + }, + "else": { + "operation": "boost", + "score": 0.07248655706644058 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 184.5, + "then": { + "operation": "boost", + "score": 0.10896014422178268 + }, + "else": { + "operation": "boost", + "score": 0.09505005925893784 + } + } + }, + "else": { + "operation": "boost", + "score": 0.028884582221508026 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.0, + "then": { + "operation": "boost", + "score": -0.207370325922966 + }, + "else": { + "operation": "boost", + "score": 0.13511404395103455 + } + }, + "else": { + "operation": "boost", + "score": -0.14604613184928894 + } + }, + "else": { + "operation": "boost", + "score": 0.0009140545735135674 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.02444392442703247 + }, + "else": { + "operation": "boost", + "score": -0.013202836737036705 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.026118125766515732 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.012106726877391338 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.3800990581512451 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 18.0, + "then": { + "operation": "boost", + "score": 0.10987631976604462 + }, + "else": { + "operation": "boost", + "score": -0.03446808457374573 + } + } + }, + "else": { + "operation": "boost", + "score": -0.008757147938013077 + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0795573890209198 + }, + "else": { + "operation": "boost", + "score": -0.08599156141281128 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.23351328074932098 + }, + "else": { + "operation": "boost", + "score": 0.009916977025568485 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.010230932384729385 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.007033222354948521 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006318357773125172 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.03200841322541237 + }, + "else": { + "operation": "boost", + "score": 0.0394088514149189 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.001211377209983766 + }, + "else": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.014614012092351913 + }, + "else": { + "operation": "boost", + "score": -0.06259341537952423 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.0055811540223658085 + } + } + } + }, + "else": { + "operation": "boost", + "score": -5.514232270797947e-06 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.005717685911804438 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_UnionTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006750231143087149 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0018074637046083808 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0037752322386950254 + }, + "else": { + "operation": "boost", + "score": -0.007215121760964394 + } + } + }, + "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 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.018003562465310097 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.04659532010555267 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0033967243507504463 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 61.5, + "then": { + "operation": "boost", + "score": 0.09881681948900223 + }, + "else": { + "operation": "boost", + "score": 0.02566339075565338 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.01881098747253418 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013068142347037792 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.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, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10760538280010223 + }, + "else": { + "operation": "boost", + "score": -0.033510297536849976 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0051294369623064995 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92.5, + "then": { + "operation": "boost", + "score": 0.08465052396059036 + }, + "else": { + "operation": "boost", + "score": -0.18518584966659546 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 679.5, + "then": { + "operation": "boost", + "score": -0.055706143379211426 + }, + "else": { + "operation": "boost", + "score": 0.02143450453877449 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.014414285309612751 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_SymbolOrNewName", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.007649426814168692 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.04819156229496002 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.10582198202610016 + }, + "else": { + "operation": "boost", + "score": 0.13791196048259735 + } + }, + "else": { + "operation": "boost", + "score": -0.10613833367824554 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "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.04171144962310791 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 780.5, + "then": { + "operation": "boost", + "score": 0.009220387786626816 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.08254869282245636 + }, + "else": { + "operation": "boost", + "score": 0.131318598985672 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.013453726656734943 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.06988827139139175 + }, + "else": { + "operation": "boost", + "score": 0.13326431810855865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.067330501973629 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02117922157049179 + }, + "else": { + "operation": "boost", + "score": 0.10718604922294617 + } + }, + "else": { + "operation": "boost", + "score": -0.1863231062889099 + } + }, + "else": { + "operation": "boost", + "score": -0.002268731128424406 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0203202273696661 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 37521.0, + "then": { + "operation": "boost", + "score": 0.026223551481962204 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 28489.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.12650512158870697 + }, + "else": { + "operation": "boost", + "score": -0.0935920774936676 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.028310580179095268 + }, + "else": { + "operation": "boost", + "score": 0.1382446140050888 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23623.0, + "then": { + "operation": "boost", + "score": -0.6525364518165588 + }, + "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 + } + } + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.028306232765316963 + }, + "else": { + "operation": "boost", + "score": 0.09223872423171997 + } + }, + "else": { + "operation": "boost", + "score": -0.062486473470926285 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.09661750495433807 + }, + "else": { + "operation": "boost", + "score": -0.08146972954273224 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09372392296791077 + } + }, + "else": { + "operation": "boost", + "score": -0.04524606466293335 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.08671942353248596 + }, + "else": { + "operation": "boost", + "score": 0.09403626620769501 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.3541035056114197 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.001331580919213593 + }, + "else": { + "operation": "boost", + "score": 0.119038887321949 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4133.0, + "then": { + "operation": "boost", + "score": 0.10111886262893677 + }, + "else": { + "operation": "boost", + "score": 0.009412582032382488 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.06407418847084045 + } + } + }, + "else": { + "operation": "boost", + "score": -0.013940699398517609 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04667532816529274 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.006101452279835939 + }, + "else": { + "operation": "boost", + "score": -0.06357724964618683 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.001239611068740487 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 618.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.008490717969834805 + }, + "else": { + "operation": "boost", + "score": 0.0011769551783800125 + } + }, + "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.003692102385684848 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.0, + "then": { + "operation": "boost", + "score": 0.12068531662225723 + }, + "else": { + "operation": "boost", + "score": 0.022668439894914627 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.028042679652571678 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 187.0, + "then": { + "operation": "boost", + "score": 0.051772214472293854 + }, + "else": { + "operation": "boost", + "score": 0.11590978503227234 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.11170747131109238 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.08142410963773727 + }, + "else": { + "operation": "boost", + "score": 0.10893390327692032 + } + } + }, + "else": { + "operation": "boost", + "score": 0.09072546660900116 + } + }, + "else": { + "operation": "boost", + "score": 0.07117145508527756 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.048796359449625015 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11510526388883591 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.06931430846452713 + }, + "else": { + "operation": "boost", + "score": 0.1157003790140152 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 201.5, + "then": { + "operation": "boost", + "score": 0.09725785255432129 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11942850798368454 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09081689268350601 + }, + "else": { + "operation": "boost", + "score": -0.06994207203388214 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07390964031219482 + }, + "else": { + "operation": "boost", + "score": 0.12118165194988251 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2760128676891327 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.059001628309488297 + }, + "else": { + "operation": "boost", + "score": -0.12933695316314697 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.06612180918455124 + }, + "else": { + "operation": "boost", + "score": 0.08836287260055542 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.06485838443040848 + }, + "else": { + "operation": "boost", + "score": 0.0923616960644722 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.11679653078317642 + }, + "else": { + "operation": "boost", + "score": 0.06238990277051926 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.028323305770754814 + }, + "else": { + "operation": "boost", + "score": -0.09383149445056915 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.12710879743099213 + }, + "else": { + "operation": "boost", + "score": -0.0076928893104195595 + } + }, + "else": { + "operation": "boost", + "score": 0.1051764190196991 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.022597556933760643 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 105.0, + "then": { + "operation": "boost", + "score": 0.1401505470275879 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11383183300495148 + }, + "else": { + "operation": "boost", + "score": -0.015687357634305954 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07225630432367325 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015806421637535095 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.05446391925215721 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12652228772640228 + }, + "else": { + "operation": "boost", + "score": 0.11002933979034424 + } + }, + "else": { + "operation": "boost", + "score": -0.009424285963177681 + } + } + } + } + }, + "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": 15.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.059957534074783325 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.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.0632961094379425 + }, + "else": { + "operation": "boost", + "score": -0.19374705851078033 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10060274600982666 + }, + "else": { + "operation": "boost", + "score": 0.06981123238801956 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10385148227214813 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1621064841747284 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.04844418540596962 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": -0.04347623512148857 + }, + "else": { + "operation": "boost", + "score": 0.07769093662500381 + } + }, + "else": { + "operation": "boost", + "score": 0.025887371972203255 + } + } + } + } + }, + "else": { + "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": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.013297122903168201 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.021469244733452797 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.0223383828997612 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.042181286960840225 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.011978412978351116 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": 0.10595273226499557 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12096064537763596 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.003942511975765228 + } + }, + "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": "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.010707021690905094 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 427.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 492.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 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 474.0, + "then": { + "operation": "boost", + "score": 0.12335892021656036 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 439.5, + "then": { + "operation": "boost", + "score": 0.012008607387542725 + }, + "else": { + "operation": "boost", + "score": 0.11400122940540314 + } + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.04562794417142868 + }, + "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 + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": -0.08961840718984604 + }, + "else": { + "operation": "boost", + "score": 0.0485059879720211 + } + }, + "else": { + "operation": "boost", + "score": -0.02562047354876995 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.000617137411609292 + } + } + }, + { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76.5, + "then": { + "operation": "boost", + "score": 0.033232204616069794 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008076360449194908 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_Other" + ], + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.014229043386876583 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04054691269993782 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.025899935513734818 + }, + "else": { + "operation": "boost", + "score": 0.10190343111753464 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.08512383699417114 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09919498860836029 + }, + "else": { + "operation": "boost", + "score": -0.1415778249502182 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.01647159457206726 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.36704984307289124 + }, + "else": { + "operation": "boost", + "score": 0.158640056848526 + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12948034703731537 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.04412166029214859 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.029251577332615852 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2880983352661133 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11920987069606781 + }, + "else": { + "operation": "boost", + "score": 0.13558146357536316 + } + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.022865256294608116 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0029710992239415646 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "boost", + "score": 0.0906074121594429 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.19041851162910461 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.020912613719701767 + }, + "else": { + "operation": "boost", + "score": 0.09059356153011322 + } + }, + "else": { + "operation": "boost", + "score": 0.028964722529053688 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "IsDeprecated", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1175638809800148 + }, + "else": { + "operation": "boost", + "score": 0.46939340233802795 + } + }, + "else": { + "operation": "boost", + "score": -0.015218595042824745 + } + }, + "else": { + "operation": "boost", + "score": -0.001053361687809229 + } + }, + "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": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.004260113928467035 + }, + "else": { + "operation": "boost", + "score": 0.06681811809539795 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.04331871494650841 + }, + "else": { + "operation": "boost", + "score": 0.12357404083013535 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.025814350694417953 + }, + "else": { + "operation": "boost", + "score": 0.10570749640464783 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.30009499192237854 + }, + "else": { + "operation": "boost", + "score": 0.11499976366758347 + } + }, + "else": { + "operation": "boost", + "score": 0.03475948050618172 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1397206038236618 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08900737017393112 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.10927701741456985 + }, + "else": { + "operation": "boost", + "score": -1.3467878103256226 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11747346073389053 + }, + "else": { + "operation": "boost", + "score": 0.0202963687479496 + } + } + }, + "else": { + "operation": "boost", + "score": -0.06914506107568741 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.45230358839035034 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.09125346690416336 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.1313386708498001 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.20263439416885376 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.0763578712940216 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10065259784460068 + }, + "else": { + "operation": "boost", + "score": 0.09230253100395203 + } + }, + "else": { + "operation": "boost", + "score": -0.2678906321525574 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 43.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11257974058389664 + }, + "else": { + "operation": "boost", + "score": 0.05384862422943115 + } + }, + "else": { + "operation": "boost", + "score": -0.14930494129657745 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11533184349536896 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.11932548135519028 + }, + "else": { + "operation": "boost", + "score": -0.12522587180137634 + } + } + }, + "else": { + "operation": "boost", + "score": 0.07310473173856735 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.040610432624816895 + } + }, + "else": { + "operation": "boost", + "score": -0.01891990937292576 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.011062918230891228 + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02884133905172348 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.02859751507639885 + }, + "else": { + "operation": "boost", + "score": 0.02600623480975628 + } + } + }, + "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" + ], + "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": 2.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.009393967688083649 + }, + "else": { + "operation": "boost", + "score": 0.09173459559679031 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01521483063697815 + } + } + } + } + } + }, + "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.0011101969284936786 + } + }, + { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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": "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.09289062023162842 + }, + "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, + "then": { + "operation": "boost", + "score": 0.08141285181045532 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.10865882784128189 + }, + "else": { + "operation": "boost", + "score": 0.1631443351507187 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 451.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.04958609864115715 + }, + "else": { + "operation": "boost", + "score": 0.10732945799827576 + } + }, + "else": { + "operation": "boost", + "score": -0.10643728077411652 + } + }, + "else": { + "operation": "boost", + "score": -0.19405855238437653 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150.5, + "then": { + "operation": "boost", + "score": 0.10355332493782043 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 74.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 106.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2507368326187134 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.043174996972084045 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 131.5, + "then": { + "operation": "boost", + "score": -0.3172478675842285 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 116.5, + "then": { + "operation": "boost", + "score": 0.34610047936439514 + }, + "else": { + "operation": "boost", + "score": 0.803375244140625 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.07455221563577652 + }, + "else": { + "operation": "boost", + "score": 0.11880199611186981 + } + }, + "else": { + "operation": "boost", + "score": 0.0042847455479204655 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.3153267502784729 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "boost", + "score": -0.1399734914302826 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.7791498303413391 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.10462108999490738 + }, + "else": { + "operation": "boost", + "score": 0.11699716746807098 + } + } + }, + "else": { + "operation": "boost", + "score": 0.025178931653499603 + } + } + }, + "else": { + "operation": "boost", + "score": -0.09793508052825928 + } + }, + "else": { + "operation": "boost", + "score": -0.190835103392601 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.03610849380493164 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.01633765548467636 + }, + "else": { + "operation": "boost", + "score": 0.067698173224926 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.07096555083990097 + }, + "else": { + "operation": "boost", + "score": 0.10010191798210144 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012242387980222702 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.2691527009010315 + }, + "else": { + "operation": "boost", + "score": 0.10453597456216812 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0007522066007368267 + }, + "else": { + "operation": "boost", + "score": 0.08644271641969681 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.014418217353522778 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 54.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.11417564749717712 + }, + "else": { + "operation": "boost", + "score": 0.12165521830320358 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.4749908149242401 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.06544582545757294 + }, + "else": { + "operation": "boost", + "score": 0.09122715145349503 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04997614398598671 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.022301143035292625 + } + } + }, + "else": { + "operation": "boost", + "score": -0.018558885902166367 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 222060.0, + "then": { + "operation": "boost", + "score": 0.1275513619184494 + }, + "else": { + "operation": "boost", + "score": -0.02607661299407482 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_SymbolOrNewName", + "CCC_Statement", + "CCC_Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.01230041403323412 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.009396286681294441 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04214787483215332 + }, + "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_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.6038469672203064 + }, + "else": { + "operation": "boost", + "score": 0.11273304373025894 + } + }, + "else": { + "operation": "boost", + "score": -0.003963432274758816 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.12719981372356415 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "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" + ], + "then": { + "operation": "boost", + "score": 0.10162334144115448 + }, + "else": { + "operation": "boost", + "score": -0.40635839104652405 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "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": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08218178898096085 + }, + "else": { + "operation": "boost", + "score": 0.15924976766109467 + } + }, + "else": { + "operation": "boost", + "score": 0.09942948818206787 + } + }, + "else": { + "operation": "boost", + "score": -0.1682884842157364 + } + }, + "else": { + "operation": "boost", + "score": 0.13007254898548126 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.007538899313658476 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "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": 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" + ], + "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": "boost", + "score": 0.024633342400193214 + }, + "else": { + "operation": "boost", + "score": 0.09046753495931625 + } + }, + "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 + } + }, + "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": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.5541495084762573 + }, + "else": { + "operation": "boost", + "score": 0.11842148751020432 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.05220190808176994 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.008506770245730877 + } + } + } + }, + { + "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.11252475529909134 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2909.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4025.0, + "then": { + "operation": "boost", + "score": 0.03418886289000511 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.0883370116353035 + }, + "else": { + "operation": "boost", + "score": -0.11028790473937988 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8634.5, + "then": { + "operation": "boost", + "score": 0.06931207329034805 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6965.0, + "then": { + "operation": "boost", + "score": 0.13524265587329865 + }, + "else": { + "operation": "boost", + "score": 0.05533967167139053 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.028050264343619347 + } + }, + "else": { + "operation": "boost", + "score": -0.06866651028394699 + } + } + }, + "else": { + "operation": "boost", + "score": -0.054856132715940475 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.008398319594562054 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5270.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5280.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8150.0, + "then": { + "operation": "boost", + "score": 0.01864929497241974 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7477.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.052138715982437134 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.07377065718173981 + }, + "else": { + "operation": "boost", + "score": 0.11660975217819214 + } + } + }, + "else": { + "operation": "boost", + "score": 0.024867849424481392 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.041743919253349304 + }, + "else": { + "operation": "boost", + "score": 0.13359107077121735 + } + } + }, + "else": { + "operation": "boost", + "score": 0.0013888927642256021 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.001214009360410273 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 577.5, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.14229819178581238 + }, + "else": { + "operation": "boost", + "score": 0.06547040492296219 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": -0.00850442610681057 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.11570370197296143 + }, + "else": { + "operation": "boost", + "score": -0.9667673707008362 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "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", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.0037211677990853786 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace", + "CCC_UnionTag", + "CCC_Other" + ], + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02710251696407795 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_ArrowMemberAccess", + "CCC_Expression", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "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", + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "boost", + "score": 0.10263797640800476 + }, + "else": { + "operation": "boost", + "score": 0.01235700398683548 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11242830753326416 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.11269877105951309 + }, + "else": { + "operation": "boost", + "score": 0.004126241430640221 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04213592782616615 + } + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.02424289844930172 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Namespace" + ], + "then": { + "operation": "boost", + "score": 0.11681082844734192 + }, + "else": { + "operation": "boost", + "score": 0.33175960183143616 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12106852978467941 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.26795217394828796 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10208892822265625 + }, + "else": { + "operation": "boost", + "score": -0.12314252555370331 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.5991698503494263 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10988376289606094 + }, + "else": { + "operation": "boost", + "score": 0.1042034849524498 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.12338156998157501 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.10743815451860428 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.07263018935918808 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.1075909212231636 + }, + "else": { + "operation": "boost", + "score": 0.06862571835517883 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00649529043585062 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.26116418838500977 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.050785891711711884 + }, + "else": { + "operation": "boost", + "score": 0.14294882118701935 + } + }, + "else": { + "operation": "boost", + "score": -0.13131661713123322 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10461875796318054 + }, + "else": { + "operation": "boost", + "score": 0.03634722903370857 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": -0.004653281532227993 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.033310599625110626 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90.5, + "then": { + "operation": "boost", + "score": 0.10640958696603775 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "boost", + "score": -0.07878077775239944 + }, + "else": { + "operation": "boost", + "score": 0.10608520358800888 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.0, + "then": { + "operation": "boost", + "score": 0.10289952158927917 + }, + "else": { + "operation": "boost", + "score": 0.08866484463214874 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.15663519501686096 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 104.5, + "then": { + "operation": "boost", + "score": -0.18931549787521362 + }, + "else": { + "operation": "boost", + "score": 0.10614977777004242 + } + }, + "else": { + "operation": "boost", + "score": -0.012713110074400902 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 48.5, + "then": { + "operation": "boost", + "score": 0.09018329530954361 + }, + "else": { + "operation": "boost", + "score": 0.1221110001206398 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.06198786199092865 + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.12881647050380707 + } + }, + "else": { + "operation": "boost", + "score": -0.007743112277239561 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.008198869414627552 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00026595560484565794 + } + } + }, + { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.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.0006326808361336589 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 894.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.07030041515827179 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1605.5, + "then": { + "operation": "boost", + "score": 0.03903350979089737 + }, + "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", + "set": [ + "Variable", + "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" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 32.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.026032544672489166 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 34.5, + "then": { + "operation": "boost", + "score": 0.11290577054023743 + }, + "else": { + "operation": "boost", + "score": 0.06934836506843567 + } + }, + "else": { + "operation": "boost", + "score": 0.015054432675242424 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.052408620715141296 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.10414111614227295 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.15254880487918854 + }, + "else": { + "operation": "boost", + "score": 0.1566382646560669 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.10207176953554153 + }, + "else": { + "operation": "boost", + "score": 0.12902553379535675 + } + }, + "else": { + "operation": "boost", + "score": -0.12012413144111633 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.051036205142736435 + }, + "else": { + "operation": "boost", + "score": 0.13360266387462616 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.04142005369067192 + } + }, + "else": { + "operation": "boost", + "score": 0.005618241615593433 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "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.054912019520998 + }, + "else": { + "operation": "boost", + "score": 0.10288067162036896 + } + }, + "else": { + "operation": "boost", + "score": 0.01595940627157688 + } + }, + "else": { + "operation": "boost", + "score": -0.02391263283789158 + } + }, + "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 + } + } + }, + "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", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.048685066401958466 + }, + "else": { + "operation": "boost", + "score": 0.02059830166399479 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.14229020476341248 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.39762362837791443 + }, + "else": { + "operation": "boost", + "score": 0.11063189804553986 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07475551217794418 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11280012875795364 + }, + "else": { + "operation": "boost", + "score": 0.1587052047252655 + } + } + } + }, + "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.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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1764.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1789.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.0030798122752457857 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7163.5, + "then": { + "operation": "boost", + "score": -0.044842679053545 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4708.0, + "then": { + "operation": "boost", + "score": 0.11648181080818176 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11546147614717484 + }, + "else": { + "operation": "boost", + "score": 0.046718910336494446 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4241.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11046.5, + "then": { + "operation": "boost", + "score": 0.022932928055524826 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10810.5, + "then": { + "operation": "boost", + "score": 0.1117316409945488 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4398.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.10464510321617126 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.043120287358760834 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.12519235908985138 + } + }, + "else": { + "operation": "boost", + "score": -0.0336129404604435 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10211854428052902 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0746268704533577 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.08025600761175156 + }, + "else": { + "operation": "boost", + "score": 0.0938485637307167 + } + }, + "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 + } + } + }, + "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" + ], + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.06740429252386093 + }, + "else": { + "operation": "boost", + "score": 0.018040897324681282 + } + } + }, + "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.024352939799427986 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0286420825868845 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.01255851425230503 + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11280694603919983 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.06162572652101517 + }, + "else": { + "operation": "boost", + "score": 0.030873829498887062 + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.665153443813324 + }, + "else": { + "operation": "boost", + "score": 0.009308448992669582 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08396368473768234 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1806.5, + "then": { + "operation": "boost", + "score": -0.09528421610593796 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1610.0, + "then": { + "operation": "boost", + "score": 0.1127500832080841 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 310.0, + "then": { + "operation": "boost", + "score": 0.10231105238199234 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, + "then": { + "operation": "boost", + "score": 0.4388035237789154 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 195.5, + "then": { + "operation": "boost", + "score": 0.027119144797325134 + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.34310412406921387 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02875821478664875 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.027443304657936096 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.40063270926475525 + }, + "else": { + "operation": "boost", + "score": -0.1278841495513916 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3648.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3680.5, + "then": { + "operation": "boost", + "score": 0.014830155298113823 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.13790464401245117 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11439929157495499 + }, + "else": { + "operation": "boost", + "score": -0.24891747534275055 + } + }, + "else": { + "operation": "boost", + "score": 0.08015941083431244 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.009429940022528172 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.0774950385093689 + }, + "else": { + "operation": "boost", + "score": 0.11362607777118683 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 123.5, + "then": { + "operation": "boost", + "score": 0.024894744157791138 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.1715874969959259 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.14949242770671844 + }, + "else": { + "operation": "boost", + "score": 0.10904822498559952 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2468014508485794 + } + } + }, + "else": { + "operation": "boost", + "score": -0.29977837204933167 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12981314957141876 + }, + "else": { + "operation": "boost", + "score": 0.009932426735758781 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 66931.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10856965184211731 + }, + "else": { + "operation": "boost", + "score": -0.2098417580127716 + } + }, + "else": { + "operation": "boost", + "score": -0.01723538152873516 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "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.002995554357767105 + }, + "else": { + "operation": "boost", + "score": 0.11447581648826599 + } + }, + "else": { + "operation": "boost", + "score": 0.10630994290113449 + } + }, + "else": { + "operation": "boost", + "score": -0.09039885550737381 + } + }, + "else": { + "operation": "boost", + "score": 0.03359869495034218 + } + } + }, + "else": { + "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_Statement", + "CCC_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other" + ], + "then": { + "operation": "boost", + "score": 0.11689934134483337 + }, + "else": { + "operation": "boost", + "score": -0.10474283993244171 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23452.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27227.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 + } + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40755.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 68345.0, + "then": { + "operation": "boost", + "score": 0.01141503918915987 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.07100547850131989 + }, + "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, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 213764.5, + "then": { + "operation": "boost", + "score": -0.03160342574119568 + }, + "else": { + "operation": "boost", + "score": 0.0651610791683197 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07123788446187973 + }, + "else": { + "operation": "boost", + "score": -0.04504179581999779 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 25.0, + "then": { + "operation": "boost", + "score": -0.39769262075424194 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 50363.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.007965859957039356 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.03759710118174553 + }, + "else": { + "operation": "boost", + "score": 0.06991194933652878 + } + }, + "else": { + "operation": "boost", + "score": 0.10562077164649963 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.23950350284576416 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 317127.5, + "then": { + "operation": "boost", + "score": -0.0305294468998909 + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.29534855484962463 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.004413584712892771 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.021291982382535934 + }, + "else": { + "operation": "boost", + "score": -0.5298618078231812 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.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" + ], + "then": { + "operation": "boost", + "score": 0.007878185249865055 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.10088352859020233 + }, + "else": { + "operation": "boost", + "score": -0.7844385504722595 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "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_Namespace", + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12872418761253357 + }, + "else": { + "operation": "boost", + "score": -0.11869549006223679 + } + }, + "else": { + "operation": "boost", + "score": -0.49054843187332153 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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.1412668079137802 + }, + "else": { + "operation": "boost", + "score": -0.3163955509662628 + } + }, + "else": { + "operation": "boost", + "score": 0.11537012457847595 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09870409220457077 + }, + "else": { + "operation": "boost", + "score": -0.10743090510368347 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1037139892578125 + }, + "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, + "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, + "then": { + "operation": "boost", + "score": -0.006964965257793665 + }, + "else": { + "operation": "boost", + "score": 0.09504493325948715 + } + } + }, + "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 + } + } + } + } + } + } + }, + "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": 44.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.3913658857345581 + }, + "else": { + "operation": "boost", + "score": 0.1141829788684845 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.14011859893798828 + }, + "else": { + "operation": "boost", + "score": 0.11382269859313965 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": -0.015150145627558231 + }, + "else": { + "operation": "boost", + "score": -0.25801265239715576 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.008113332092761993 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.1880781352519989 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.02424609661102295 + }, + "else": { + "operation": "boost", + "score": 0.08813457936048508 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.013932432048022747 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 0.037105947732925415 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.05997452139854431 + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.088930144906044 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1184.0, + "then": { + "operation": "boost", + "score": 0.05591696873307228 + }, + "else": { + "operation": "boost", + "score": -0.2947635352611542 + } + } + }, + "else": { + "operation": "boost", + "score": -0.6474397778511047 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 161.5, + "then": { + "operation": "boost", + "score": 0.0961313545703888 + }, + "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, + "then": { + "operation": "boost", + "score": 0.10755463689565659 + }, + "else": { + "operation": "boost", + "score": 0.0018212255090475082 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188.5, + "then": { + "operation": "boost", + "score": 0.05936942249536514 + }, + "else": { + "operation": "boost", + "score": 0.12810084223747253 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 52.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 112.5, + "then": { + "operation": "boost", + "score": -7.701275535509922e-06 + }, + "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" + ], + "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, + "then": { + "operation": "boost", + "score": 0.1086324155330658 + }, + "else": { + "operation": "boost", + "score": 0.033566176891326904 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 157.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.02984781004488468 + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 147.5, + "then": { + "operation": "boost", + "score": 0.10597610473632812 + }, + "else": { + "operation": "boost", + "score": 0.008749669417738914 + } + }, + "else": { + "operation": "boost", + "score": 0.12033022940158844 + } + }, + "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, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.11130497604608536 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.0747610330581665 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.11964371055364609 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1931983232498169 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 56.0, + "then": { + "operation": "boost", + "score": 0.10171274095773697 + }, + "else": { + "operation": "boost", + "score": -0.13234640657901764 + } + } + } + } + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 57.0, + "then": { + "operation": "boost", + "score": -0.23233354091644287 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 31.5, + "then": { + "operation": "boost", + "score": 0.13045093417167664 + }, + "else": { + "operation": "boost", + "score": 0.07013721764087677 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05304153636097908 + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.7647877931594849 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.018738586455583572 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.10824001580476761 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.008747804909944534 + }, + "else": { + "operation": "boost", + "score": 0.3703725039958954 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1781815141439438 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.12904883921146393 + }, + "else": { + "operation": "boost", + "score": -0.15679560601711273 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11838435381650925 + }, + "else": { + "operation": "boost", + "score": 0.028662657365202904 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.1916484236717224 + }, + "else": { + "operation": "boost", + "score": 0.1280391365289688 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.014023086987435818 + } + } + } + } + }, + "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": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 417741.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.023419810459017754 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.10168062150478363 + }, + "else": { + "operation": "boost", + "score": -0.39587733149528503 + } + } + }, + "else": { + "operation": "boost", + "score": -0.049979086965322495 + } + }, + "else": { + "operation": "boost", + "score": -0.00279375072568655 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "boost", + "score": -0.045257214456796646 + }, + "else": { + "operation": "boost", + "score": 0.07875802367925644 + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.018846245482563972 + }, + "else": { + "operation": "boost", + "score": 0.01345442421734333 + } + }, + "else": { + "operation": "boost", + "score": -0.0018593384884297848 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3202.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3510.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11794.0, + "then": { + "operation": "boost", + "score": -0.13302725553512573 + }, + "else": { + "operation": "boost", + "score": 0.1148596853017807 + } + }, + "else": { + "operation": "boost", + "score": 0.04672771319746971 + } + }, + "else": { + "operation": "boost", + "score": 0.1296902745962143 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.015880655497312546 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "boost", + "score": 0.2333337366580963 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.2485482096672058 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 1.3242733478546143 + }, + "else": { + "operation": "boost", + "score": -0.10539200156927109 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.10004852712154388 + } + } + }, + "else": { + "operation": "boost", + "score": 0.24162741005420685 + } + }, + "else": { + "operation": "boost", + "score": 0.00897606648504734 + } + }, + "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.03471372276544571 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel" + ], + "then": { + "operation": "boost", + "score": 0.09408979117870331 + }, + "else": { + "operation": "boost", + "score": 0.09935881197452545 + } + } + }, + "else": { + "operation": "boost", + "score": -0.07765210419893265 + } + }, + "else": { + "operation": "boost", + "score": 0.06359737366437912 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.00548333628103137 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "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": 15.5, + "then": { + "operation": "boost", + "score": 0.11889942735433578 + }, + "else": { + "operation": "boost", + "score": 0.03420385345816612 + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.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 + } + }, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03903689607977867 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.018132619559764862 + }, + "else": { + "operation": "boost", + "score": 0.047296617180109024 + } + }, + "else": { + "operation": "boost", + "score": -0.052005745470523834 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11440135538578033 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.03801781311631203 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.08145811408758163 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.006250898353755474 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.017858264967799187 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Function" + ], + "then": { + "operation": "boost", + "score": 0.060391347855329514 + }, + "else": { + "operation": "boost", + "score": 0.024460632354021072 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0026009520515799522 + }, + "else": { + "operation": "boost", + "score": 0.04258963093161583 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement", + "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": 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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.26579487323760986 + }, + "else": { + "operation": "boost", + "score": 0.00306958076544106 + } + } + }, + "else": { + "operation": "boost", + "score": 0.01854943484067917 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 509.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.023031724616885185 + }, + "else": { + "operation": "boost", + "score": 0.1013960912823677 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.027936939150094986 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": 0.12249050289392471 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.044518474489450455 + }, + "else": { + "operation": "boost", + "score": 0.09585783630609512 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.04271700978279114 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Keyword", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14971.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2024.5, + "then": { + "operation": "boost", + "score": -0.11618895828723907 + }, + "else": { + "operation": "boost", + "score": -0.007687798235565424 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.009284618310630322 + }, + "else": { + "operation": "boost", + "score": 0.05373106151819229 + } + }, + "else": { + "operation": "boost", + "score": 0.029970986768603325 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.055987365543842316 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.10945665091276169 + }, + "else": { + "operation": "boost", + "score": 0.11649349331855774 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04473240301012993 + } + }, + "else": { + "operation": "boost", + "score": 0.02355862781405449 + } + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_DotMemberAccess", + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_ArrowMemberAccess", + "CCC_Statement", + "CCC_Namespace", + "CCC_ClassOrStructTag", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": -0.3184848129749298 + }, + "else": { + "operation": "boost", + "score": -0.8673130869865417 + } + }, + "else": { + "operation": "boost", + "score": -0.20881840586662292 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 96602.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98088.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.08350399881601334 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10561753809452057 + }, + "else": { + "operation": "boost", + "score": 0.043428726494312286 + } + }, + "else": { + "operation": "boost", + "score": -0.03892601653933525 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08693517744541168 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 62087.0, + "then": { + "operation": "boost", + "score": -0.04812617972493172 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 44558.0, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.035270433872938156 + }, + "else": { + "operation": "boost", + "score": 0.11847738176584244 + } + }, + "else": { + "operation": "boost", + "score": -0.006059941370040178 + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.005948818754404783 + } + } + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 627.0, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.05157556012272835 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 784.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 667.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.12449193000793457 + }, + "else": { + "operation": "boost", + "score": -0.10228005796670914 + } + }, + "else": { + "operation": "boost", + "score": -0.11271921545267105 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11154.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13537.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18429.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 18474.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.06303799152374268 + }, + "else": { + "operation": "boost", + "score": 0.09310460090637207 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "boost", + "score": -0.039734650403261185 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0422702431678772 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 16175.5, + "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, + "then": { + "operation": "boost", + "score": 0.07376549392938614 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -1.2077574729919434 + }, + "else": { + "operation": "boost", + "score": -0.06311912834644318 + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11886.5, + "then": { + "operation": "boost", + "score": 0.13034547865390778 + }, + "else": { + "operation": "boost", + "score": 0.10748109966516495 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.08836021274328232 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11851.0, + "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, + "then": { + "operation": "boost", + "score": -0.2619874179363251 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11437.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": -0.11675217747688293 + }, + "else": { + "operation": "boost", + "score": 0.1271054446697235 + } + }, + "else": { + "operation": "boost", + "score": 0.0945936068892479 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7138.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7161.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10339.5, + "then": { + "operation": "boost", + "score": -0.13727536797523499 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9135.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9195.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.13240647315979004 + }, + "else": { + "operation": "boost", + "score": -0.888036847114563 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": 2.6654746532440186 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.03612430393695831 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10053.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10206.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 10264.0, + "then": { + "operation": "boost", + "score": 0.6616566777229309 + }, + "else": { + "operation": "boost", + "score": -0.10988721251487732 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.14596326649188995 + }, + "else": { + "operation": "boost", + "score": -0.10709859430789948 + } + } + }, + "else": { + "operation": "boost", + "score": -0.1354827880859375 + } + } + } + } + }, + "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 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0868767723441124 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6816.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6996.5, + "then": { + "operation": "boost", + "score": -0.22261415421962738 + }, + "else": { + "operation": "boost", + "score": -0.38053587079048157 + } + }, + "else": { + "operation": "boost", + "score": -0.03779971972107887 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6615.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.14673389494419098 + }, + "else": { + "operation": "boost", + "score": 0.0921749472618103 + } + }, + "else": { + "operation": "boost", + "score": -0.2169255167245865 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.0, + "then": { + "operation": "boost", + "score": 0.2103656381368637 + }, + "else": { + "operation": "boost", + "score": -0.16573016345500946 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.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 + } + } + }, + "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 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 988.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1008.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": 0.08120900392532349 + }, + "else": { + "operation": "boost", + "score": -0.5448237657546997 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1022.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.0, + "then": { + "operation": "boost", + "score": 0.20741257071495056 + }, + "else": { + "operation": "boost", + "score": 0.06909356266260147 + } + }, + "else": { + "operation": "boost", + "score": -0.018034376204013824 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1000.5, + "then": { + "operation": "boost", + "score": 0.12290556728839874 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 989.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1187627986073494 + }, + "else": { + "operation": "boost", + "score": -0.18416562676429749 + } + }, + "else": { + "operation": "boost", + "score": 0.08162157982587814 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.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 + } + }, + "else": { + "operation": "boost", + "score": 0.11995307356119156 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 641.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 964.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 982.0, + "then": { + "operation": "boost", + "score": -0.11474490165710449 + }, + "else": { + "operation": "boost", + "score": 0.11397252976894379 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 946.5, + "then": { + "operation": "boost", + "score": -0.6521891951560974 + }, + "else": { + "operation": "boost", + "score": 0.029559509828686714 + } + } + }, + "else": { + "operation": "boost", + "score": 0.14305485785007477 + } + }, + "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 + } + } + } + } + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.008472529239952564 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 4889.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8150.0, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23436.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.059667449444532394 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10202241688966751 + }, + "else": { + "operation": "boost", + "score": 0.08735465258359909 + } + } + }, + "else": { + "operation": "boost", + "score": 0.00994535069912672 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7473.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7477.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.047731541097164154 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7731.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7768.5, + "then": { + "operation": "boost", + "score": 0.22916899621486664 + }, + "else": { + "operation": "boost", + "score": 0.12995724380016327 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5516.0, + "then": { + "operation": "boost", + "score": 0.011938245967030525 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5270.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5280.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5351.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.058857403695583344 + }, + "else": { + "operation": "boost", + "score": 0.13275767862796783 + } + }, + "else": { + "operation": "boost", + "score": -0.05498334765434265 + } + }, + "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 + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3748.5, + "then": { + "operation": "boost", + "score": -0.08517155051231384 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3229.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3251.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3587.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.08019623160362244 + }, + "else": { + "operation": "boost", + "score": -0.0676548108458519 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3569.0, + "then": { + "operation": "boost", + "score": 0.4601012170314789 + }, + "else": { + "operation": "boost", + "score": 0.1305634081363678 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10212746262550354 + } + }, + "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": { + "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_Statement", + "CCC_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.19221508502960205 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.02019866369664669 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.1957312822341919 + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13971906900405884 + }, + "else": { + "operation": "boost", + "score": -0.10735692083835602 + } + }, + "else": { + "operation": "boost", + "score": -0.015018909238278866 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 198.0, + "then": { + "operation": "boost", + "score": -0.14556653797626495 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 181.0, + "then": { + "operation": "boost", + "score": 0.1401289850473404 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10607285797595978 + }, + "else": { + "operation": "boost", + "score": -0.0963316261768341 + } + }, + "else": { + "operation": "boost", + "score": 0.10978285223245621 + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.11138725280761719 + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11873794347047806 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "boost", + "score": 0.12205594778060913 + }, + "else": { + "operation": "boost", + "score": 0.040363430976867676 + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 439.0, + "then": { + "operation": "boost", + "score": 0.08846402168273926 + }, + "else": { + "operation": "boost", + "score": 0.04750121012330055 + } + }, + "else": { + "operation": "boost", + "score": -0.0516284815967083 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.0, + "then": { + "operation": "boost", + "score": 0.1241438016295433 + }, + "else": { + "operation": "boost", + "score": -0.5609443783760071 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.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 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.10460338741540909 + }, + "else": { + "operation": "boost", + "score": 0.06524300575256348 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.07143882662057877 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0967181921005249 + }, + "else": { + "operation": "boost", + "score": -0.18238814175128937 + } + } + } + } + }, + "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 + } + } + } + } + } + } + } + }, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 250.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 323.0, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09617258608341217 + }, + "else": { + "operation": "boost", + "score": -0.051031533628702164 + } + }, + "else": { + "operation": "boost", + "score": -0.5065528750419617 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 103.5, + "then": { + "operation": "boost", + "score": -0.16096298396587372 + }, + "else": { + "operation": "boost", + "score": 0.08611654490232468 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 97.5, + "then": { + "operation": "boost", + "score": 0.11585871130228043 + }, + "else": { + "operation": "boost", + "score": -0.27374303340911865 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 233.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 357.0, + "then": { + "operation": "boost", + "score": -0.3294970989227295 + }, + "else": { + "operation": "boost", + "score": 0.10758776217699051 + } + }, + "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 + } + } + } + } + } + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.1366911083459854 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.2584020793437958 + }, + "else": { + "operation": "boost", + "score": -0.582647979259491 + } + }, + "else": { + "operation": "boost", + "score": 0.09957153350114822 + } + } + }, + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 27.5, + "then": { + "operation": "boost", + "score": 0.05034610629081726 + }, + "else": { + "operation": "boost", + "score": 0.11404252052307129 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": -0.37591999769210815 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.32979831099510193 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.10751866549253464 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.0, + "then": { + "operation": "boost", + "score": -0.38269999623298645 + }, + "else": { + "operation": "boost", + "score": 0.09770407527685165 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.24174511432647705 + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.10128682106733322 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.38178902864456177 + }, + "else": { + "operation": "boost", + "score": -2.44830322265625 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.00718233548104763 + }, + "else": { + "operation": "boost", + "score": -0.04051594063639641 + } + } + }, + "else": { + "operation": "boost", + "score": -0.00019736292597372085 + } + }, + "else": { + "operation": "boost", + "score": 0.002000492997467518 + } + } + }, + { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Statement", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "IsInstanceMember", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.009519698098301888 + }, + "else": { + "operation": "boost", + "score": -0.024799594655632973 + } + }, + "else": { + "operation": "boost", + "score": 0.0024526501074433327 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.0008879807428456843 + }, + "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": "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, + "then": { + "operation": "boost", + "score": 0.04496929794549942 + }, + "else": { + "operation": "boost", + "score": -0.17687305808067322 + } + } + }, + "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 + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.007096166722476482 + }, + "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.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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.02449561096727848 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0006651444709859788 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": -0.027890663594007492 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 111.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 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.0030055909883230925 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": 0.11857616901397705 + }, + "else": { + "operation": "boost", + "score": -0.06611201912164688 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Destructor", + "Namespace", + "Constructor" + ], + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": 0.16895948350429535 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.25029048323631287 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.060148563235998154 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.06229474022984505 + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.029255596920847893 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.0187985822558403 + }, + "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": "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, + "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": "boost", + "score": 0.03477422520518303 + }, + "else": { + "operation": "boost", + "score": -0.12734898924827576 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03474890813231468 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 50008.0, + "then": { + "operation": "boost", + "score": -0.014903154224157333 + }, + "else": { + "operation": "boost", + "score": 0.10745272040367126 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.03236216679215431 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.730378270149231 + }, + "else": { + "operation": "boost", + "score": 0.10690107196569443 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.14501959085464478 + }, + "else": { + "operation": "boost", + "score": -0.09940579533576965 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.0, + "then": { + "operation": "boost", + "score": -0.2386358231306076 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09584730118513107 + }, + "else": { + "operation": "boost", + "score": 0.02736043371260166 + } + } + }, + "else": { + "operation": "boost", + "score": -0.18117362260818481 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_TopLevel", + "CCC_Namespace", + "CCC_Type", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.11084041744470596 + }, + "else": { + "operation": "boost", + "score": 0.1236286610364914 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": 0.009475099854171276 + }, + "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, + "then": { + "operation": "boost", + "score": -0.29667699337005615 + }, + "else": { + "operation": "boost", + "score": 0.11311492323875427 + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.15460580587387085 + }, + "else": { + "operation": "boost", + "score": 0.13562889397144318 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.15890085697174072 + }, + "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": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": -0.11233837902545929 + }, + "else": { + "operation": "boost", + "score": 0.14255473017692566 + } + }, + "else": { + "operation": "boost", + "score": -0.2018960863351822 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.3200221061706543 + }, + "else": { + "operation": "boost", + "score": 0.1696428656578064 + } + } + }, + "else": { + "operation": "boost", + "score": 0.13030850887298584 + } + }, + "else": { + "operation": "boost", + "score": 0.041450973600149155 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Type", + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.14913001656532288 + }, + "else": { + "operation": "boost", + "score": 0.14920733869075775 + } + }, + "else": { + "operation": "boost", + "score": 0.04994361475110054 + } + }, + "else": { + "operation": "boost", + "score": -0.009244244545698166 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.1340685933828354 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "boost", + "score": 0.18160851299762726 + }, + "else": { + "operation": "boost", + "score": 0.06303581595420837 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": 0.001195881748571992 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.13068576157093048 + }, + "else": { + "operation": "boost", + "score": 0.09074801951646805 + } + }, + "else": { + "operation": "boost", + "score": 0.07363034784793854 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02915044128894806 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.030590666458010674 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.01985127665102482 + } + } + }, + "else": { + "operation": "boost", + "score": -0.0011076743248850107 + } + }, + "else": { + "operation": "boost", + "score": 0.001473763957619667 + } + } + }, + { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0075514656491577625 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Destructor", + "Keyword", + "Constructor", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Statement", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119809.5, + "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": 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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.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 + } + }, + "else": { + "operation": "boost", + "score": 0.09814096987247467 + } + } + }, + "else": { + "operation": "boost", + "score": -0.032554127275943756 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 560.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40920.5, + "then": { + "operation": "boost", + "score": -0.12432870268821716 + }, + "else": { + "operation": "boost", + "score": 0.03179651126265526 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 92287.0, + "then": { + "operation": "boost", + "score": 0.09766596555709839 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 564.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" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2067.5, + "then": { + "operation": "boost", + "score": -0.2867015302181244 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1274.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 + } + }, + "else": { + "operation": "boost", + "score": -0.033236272633075714 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 631.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.11481773853302002 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2919.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3627.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.10056224465370178 + }, + "else": { + "operation": "boost", + "score": 0.2104250192642212 + } + }, + "else": { + "operation": "boost", + "score": -0.13360393047332764 + } + }, + "else": { + "operation": "boost", + "score": 0.11281143873929977 + } + }, + "else": { + "operation": "boost", + "score": 0.14333966374397278 + } + }, + "else": { + "operation": "boost", + "score": -0.022131841629743576 + } + } + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.10693883150815964 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 88.5, + "then": { + "operation": "boost", + "score": -0.10155785828828812 + }, + "else": { + "operation": "boost", + "score": 0.17203930020332336 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 90.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.10687717795372009 + }, + "else": { + "operation": "boost", + "score": 0.1348494440317154 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.22475837171077728 + }, + "else": { + "operation": "boost", + "score": 0.7127001285552979 + } + } + } + } + }, + "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": 112.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 152.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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.7069227695465088 + }, + "else": { + "operation": "boost", + "score": 0.0581989549100399 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.504194974899292 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 213.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 558.0, + "then": { + "operation": "boost", + "score": -0.16509751975536346 + }, + "else": { + "operation": "boost", + "score": 0.1081327423453331 + } + }, + "else": { + "operation": "boost", + "score": 0.12319734692573547 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119.0, + "then": { + "operation": "boost", + "score": 0.10197408497333527 + }, + "else": { + "operation": "boost", + "score": -0.10136290639638901 + } + }, + "else": { + "operation": "boost", + "score": 0.01321347150951624 + } + }, + "else": { + "operation": "boost", + "score": 0.1106548011302948 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.015335727483034134 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 302.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 608.5, + "then": { + "operation": "boost", + "score": 0.05923131853342056 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.1033158004283905 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.2838349938392639 + }, + "else": { + "operation": "boost", + "score": -0.11520273983478546 + } + }, + "else": { + "operation": "boost", + "score": 0.11465388536453247 + } + } + } + }, + "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 + } + }, + "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": 1484.0, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.016865605488419533 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1244.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.017219096422195435 + }, + "else": { + "operation": "boost", + "score": 0.11237147450447083 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.12080845236778259 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.14846612513065338 + }, + "else": { + "operation": "boost", + "score": 0.10431355983018875 + } + } + }, + "else": { + "operation": "boost", + "score": -0.4102008044719696 + } + } + } + } + } + }, + "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 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.016219085082411766 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.07664193212985992 + }, + "else": { + "operation": "boost", + "score": 0.003666232107207179 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 304.5, + "then": { + "operation": "boost", + "score": 0.03606323525309563 + }, + "else": { + "operation": "boost", + "score": 0.08786128461360931 + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.03536691889166832 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.3288728594779968 + }, + "else": { + "operation": "boost", + "score": -0.14077579975128174 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.0003028148494195193 + } + } + }, + "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, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "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 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.11550772935152054 + }, + "else": { + "operation": "boost", + "score": 0.08563187718391418 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10106758773326874 + }, + "else": { + "operation": "boost", + "score": -0.3043031096458435 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.02244468964636326 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.03635704889893532 + }, + "else": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.04150306060910225 + }, + "else": { + "operation": "boost", + "score": -0.3867199718952179 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.11630409955978394 + }, + "else": { + "operation": "boost", + "score": 0.11420536041259766 + } + }, + "else": { + "operation": "boost", + "score": -0.15762266516685486 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "boost", + "score": -0.35718339681625366 + }, + "else": { + "operation": "boost", + "score": 0.003582401666790247 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.05248719081282616 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10667746514081955 + }, + "else": { + "operation": "boost", + "score": 0.0893222987651825 + } + } + }, + "else": { + "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.08792302757501602 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.008869307115674019 + }, + "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.07267476618289948 + }, + "else": { + "operation": "boost", + "score": -0.007088593672960997 + } + } + } + }, + "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.016437098383903503 + }, + "else": { + "operation": "boost", + "score": -0.9188499450683594 + } + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.024168791249394417 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.28347423672676086 + }, + "else": { + "operation": "boost", + "score": -0.15106864273548126 + } + } + }, + "else": { + "operation": "boost", + "score": 0.04541867598891258 + } + }, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": -0.12237875163555145 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.11316820979118347 + }, + "else": { + "operation": "boost", + "score": 0.013094635680317879 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.35732948780059814 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.1448453962802887 + }, + "else": { + "operation": "boost", + "score": 0.05945628508925438 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": -0.12633128464221954 + }, + "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, + "then": { + "operation": "boost", + "score": 0.045832060277462006 + }, + "else": { + "operation": "boost", + "score": -0.24272514879703522 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.0025388060603290796 + }, + "else": { + "operation": "boost", + "score": -0.9425166845321655 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08247476816177368 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.09551149606704712 + }, + "else": { + "operation": "boost", + "score": -0.3976576626300812 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": -0.25158849358558655 + } + }, + "else": { + "operation": "boost", + "score": 0.011923909187316895 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.4324975609779358 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.1114480271935463 + }, + "else": { + "operation": "boost", + "score": -0.08996503055095673 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.08216456323862076 + }, + "else": { + "operation": "boost", + "score": 0.0812097042798996 + } + } + }, + "else": { + "operation": "boost", + "score": 0.08875083923339844 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "boost", + "score": 0.009480300359427929 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "boost", + "score": 0.024945972487330437 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 144.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 290.0, + "then": { + "operation": "boost", + "score": -0.022194353863596916 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 248.0, + "then": { + "operation": "boost", + "score": 0.11534763127565384 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 221.0, + "then": { + "operation": "boost", + "score": 0.1284031867980957 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.5, + "then": { + "operation": "boost", + "score": 0.10816705226898193 + }, + "else": { + "operation": "boost", + "score": -0.10853076726198196 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 26.0, + "then": { + "operation": "boost", + "score": -1.3464429378509521 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 63.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102.5, + "then": { + "operation": "boost", + "score": -0.2795768082141876 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.10180540382862091 + }, + "else": { + "operation": "boost", + "score": 0.03769887983798981 + } + } + }, + "else": { + "operation": "boost", + "score": -0.05025608092546463 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.07516272366046906 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 19.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.020846227183938026 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "boost", + "score": 0.11607711017131805 + }, + "else": { + "operation": "boost", + "score": -0.12850584089756012 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.06963656842708588 + }, + "else": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.009861058555543423 + }, + "else": { + "operation": "boost", + "score": 0.1056048646569252 + } + }, + "else": { + "operation": "boost", + "score": 0.04491938278079033 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.019254734739661217 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.0966271385550499 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.07157150655984879 + }, + "else": { + "operation": "boost", + "score": 0.0035488277208060026 + } + } + } + }, + "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": 11.5, + "then": { + "operation": "boost", + "score": 0.039083853363990784 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9.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 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.034072473645210266 + } + }, + "else": { + "operation": "boost", + "score": -0.058543458580970764 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.011646649800240993 + }, + "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": "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 223.5, + "then": { + "operation": "boost", + "score": 0.0839591696858406 + }, + "else": { + "operation": "boost", + "score": 0.10555575042963028 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.048136498779058456 + }, + "else": { + "operation": "boost", + "score": 0.08490771800279617 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.0, + "then": { + "operation": "boost", + "score": 0.11510467529296875 + }, + "else": { + "operation": "boost", + "score": 0.07970511168241501 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.019251422956585884 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "boost", + "score": -0.03967619314789772 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 529.5, + "then": { + "operation": "boost", + "score": -0.024301111698150635 + }, + "else": { + "operation": "boost", + "score": 0.11944298446178436 + } + }, + "else": { + "operation": "boost", + "score": -0.11432300508022308 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.11359056085348129 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.1575879007577896 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.04590905085206032 + }, + "else": { + "operation": "boost", + "score": 0.11140777915716171 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.026528388261795044 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 245161.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.10717861354351044 + }, + "else": { + "operation": "boost", + "score": 0.06159590557217598 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.023649590089917183 + }, + "else": { + "operation": "boost", + "score": -0.4851459264755249 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.13522182404994965 + }, + "else": { + "operation": "boost", + "score": 0.1024540588259697 + } + }, + "else": { + "operation": "boost", + "score": -0.025197289884090424 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10697176307439804 + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06062450632452965 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6621.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13459.0, + "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": 21311.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06599763035774231 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22949.0, + "then": { + "operation": "boost", + "score": 0.010672971606254578 + }, + "else": { + "operation": "boost", + "score": 0.10491402447223663 + } + } + }, + "else": { + "operation": "boost", + "score": -0.12095380574464798 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.038664668798446655 + }, + "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 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": -0.5455420613288879 + }, + "else": { + "operation": "boost", + "score": 0.07581707090139389 + } + }, + "else": { + "operation": "boost", + "score": -0.36956238746643066 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.11215709894895554 + }, + "else": { + "operation": "boost", + "score": 0.1004694327712059 + } + } + }, + "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 + } + } + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.005857232958078384 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.0444503128528595 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.049939580261707306 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.08982652425765991 + }, + "else": { + "operation": "boost", + "score": 0.056330595165491104 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.053896840661764145 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.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.052747733891010284 + }, + "else": { + "operation": "boost", + "score": -0.22657252848148346 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10346362739801407 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.026056934148073196 + }, + "else": { + "operation": "boost", + "score": 0.10335373878479004 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.10328012704849243 + }, + "else": { + "operation": "boost", + "score": -0.06457532197237015 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel", + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.09629816561937332 + }, + "else": { + "operation": "boost", + "score": 0.021340174600481987 + } + }, + "else": { + "operation": "boost", + "score": 0.04837522655725479 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.02537689171731472 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.06972424685955048 + }, + "else": { + "operation": "boost", + "score": 0.1269887387752533 + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.07091060280799866 + }, + "else": { + "operation": "boost", + "score": 0.09212517738342285 + } + }, + "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, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.09717351943254471 + }, + "else": { + "operation": "boost", + "score": 0.12955011427402496 + } + }, + "else": { + "operation": "boost", + "score": -0.0039475904777646065 + } + }, + "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.03595967963337898 + }, + "else": { + "operation": "boost", + "score": -0.11421110481023788 + } + } + }, + "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.04202500358223915 + }, + "else": { + "operation": "boost", + "score": -0.04006028175354004 + } + } + }, + "else": { + "operation": "boost", + "score": 0.008205902762711048 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.015287087298929691 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 29.5, + "then": { + "operation": "boost", + "score": 0.11552827805280685 + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.07957249879837036 + }, + "else": { + "operation": "boost", + "score": -0.044108133763074875 + } + }, + "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, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": -0.025331851094961166 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.09921539574861526 + }, + "else": { + "operation": "boost", + "score": 0.03114526905119419 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.03675829619169235 + }, + "else": { + "operation": "boost", + "score": 0.0599098801612854 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.11016537249088287 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1074118.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.38865968585014343 + }, + "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 + } + } + } + }, + "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 + } + }, + "else": { + "operation": "boost", + "score": -0.018980592489242554 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1318535.0, + "then": { + "operation": "boost", + "score": 0.014979960396885872 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "boost", + "score": -0.12536989152431488 + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.2921357750892639 + }, + "else": { + "operation": "boost", + "score": 0.014505512081086636 + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.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.0024094528052955866 + }, + "else": { + "operation": "boost", + "score": -0.20157502591609955 + } + }, + "else": { + "operation": "boost", + "score": 0.08198834210634232 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 86.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.009180470369756222 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_TopLevel", + "CCC_Statement", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 119809.5, + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "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.7286561131477356 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.05371794477105141 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 190379.0, + "then": { + "operation": "boost", + "score": -0.19499042630195618 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.09520433098077774 + }, + "else": { + "operation": "boost", + "score": 0.08396344631910324 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 148934.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.07762961834669113 + }, + "else": { + "operation": "boost", + "score": -0.005075845867395401 + } + }, + "else": { + "operation": "boost", + "score": 0.08538936823606491 + } + }, + "else": { + "operation": "boost", + "score": 0.09659522771835327 + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 321.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6873.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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 974.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1494.0, + "then": { + "operation": "boost", + "score": 0.27362263202667236 + }, + "else": { + "operation": "boost", + "score": 0.1415104866027832 + } + }, + "else": { + "operation": "boost", + "score": -0.03921644389629364 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1331990659236908 + }, + "else": { + "operation": "boost", + "score": -0.11535047739744186 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12661.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.20549540221691132 + }, + "else": { + "operation": "boost", + "score": 0.14982293546199799 + } + } + }, + "else": { + "operation": "boost", + "score": -0.2366444617509842 + } + }, + "else": { + "operation": "boost", + "score": -0.07354926317930222 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11865710467100143 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 821.5, + "then": { + "operation": "boost", + "score": 0.5294588804244995 + }, + "else": { + "operation": "boost", + "score": 0.0006097567966207862 + } + } + }, + "else": { + "operation": "boost", + "score": 0.03735986724495888 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.024355219677090645 + }, + "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": 156.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.042248692363500595 + }, + "else": { + "operation": "boost", + "score": -0.4429967701435089 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 154.5, + "then": { + "operation": "boost", + "score": 0.10918693989515305 + }, + "else": { + "operation": "boost", + "score": -0.018230030313134193 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": -0.03488994017243385 + }, + "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 + } + } + } + } + } + }, + "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_Expression", + "CCC_Namespace", + "CCC_Type", + "CCC_Symbol", + "CCC_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 228.0, + "then": { + "operation": "boost", + "score": -0.35179486870765686 + }, + "else": { + "operation": "boost", + "score": 0.04835052788257599 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11182453483343124 + }, + "else": { + "operation": "boost", + "score": -0.677490234375 + } + } + }, + "else": { + "operation": "boost", + "score": -0.03765001520514488 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.5, + "then": { + "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 + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.05303597077727318 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.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 + } + }, + "else": { + "operation": "boost", + "score": -0.014610562473535538 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.023663297295570374 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.0025629838928580284 + }, + "else": { + "operation": "boost", + "score": 0.01489637978374958 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003400831948965788 + } + }, + "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": { + "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.04952513426542282 + }, + "else": { + "operation": "boost", + "score": -0.08441483229398727 + } + }, + "else": { + "operation": "boost", + "score": 0.03522467985749245 + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.011141420342028141 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": -0.003758625127375126 + }, + "else": { + "operation": "boost", + "score": 0.07812784612178802 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.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": "boost", + "score": -0.006486073601990938 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": 0.10821536183357239 + }, + "else": { + "operation": "boost", + "score": -0.05380845442414284 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 13.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.20799872279167175 + }, + "else": { + "operation": "boost", + "score": 0.11918658763170242 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 480.0, + "then": { + "operation": "boost", + "score": 0.09631002694368362 + }, + "else": { + "operation": "boost", + "score": -0.029377058148384094 + } + }, + "else": { + "operation": "boost", + "score": 0.06431430578231812 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.08734609931707382 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.03426846116781235 + }, + "else": { + "operation": "boost", + "score": 0.09713252633810043 + } + }, + "else": { + "operation": "boost", + "score": -0.017352301627397537 + } + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.058773431926965714 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.22537344694137573 + }, + "else": { + "operation": "boost", + "score": 0.07785842567682266 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3547.5, + "then": { + "operation": "boost", + "score": -0.06588266789913177 + }, + "else": { + "operation": "boost", + "score": 0.10426440089941025 + } + } + }, + "else": { + "operation": "boost", + "score": 0.003895931877195835 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0006520543829537928 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.27411943674087524 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.1101497933268547 + }, + "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": 8.5, + "then": { + "operation": "boost", + "score": -0.24060454964637756 + }, + "else": { + "operation": "boost", + "score": 0.07530191540718079 + } + }, + "else": { + "operation": "boost", + "score": -0.05830702930688858 + } + } + } + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69564.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 76669.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 102921.5, + "then": { + "operation": "boost", + "score": -0.05875270441174507 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": -0.02576202154159546 + }, + "else": { + "operation": "boost", + "score": 0.1022111028432846 + } + }, + "else": { + "operation": "boost", + "score": -0.3163938522338867 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.0, + "then": { + "operation": "boost", + "score": 0.09115379303693771 + }, + "else": { + "operation": "boost", + "score": 0.10911940038204193 + } + } + }, + "else": { + "operation": "boost", + "score": 0.023230550810694695 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "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": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 223.0, + "then": { + "operation": "boost", + "score": -0.025263378396630287 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 170.5, + "then": { + "operation": "boost", + "score": 0.15473972260951996 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 55.0, + "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 + } + }, + "else": { + "operation": "boost", + "score": 0.13099412620067596 + } + }, + "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", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.13284210860729218 + }, + "else": { + "operation": "boost", + "score": 0.19258728623390198 + } + }, + "else": { + "operation": "boost", + "score": 0.11609833687543869 + } + }, + "else": { + "operation": "boost", + "score": -0.32240402698516846 + } + }, + "else": { + "operation": "boost", + "score": -0.02190571278333664 + } + } + }, + "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": "if_greater", + "feature": "NumReferences", + "threshold": 454.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, + "then": { + "operation": "boost", + "score": 0.07322269678115845 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11.5, + "then": { + "operation": "boost", + "score": -0.45613378286361694 + }, + "else": { + "operation": "boost", + "score": 0.016004906967282295 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.028082648292183876 + }, + "else": { + "operation": "boost", + "score": 0.1384444236755371 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "boost", + "score": 0.023424362763762474 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 11.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.12617231905460358 + }, + "else": { + "operation": "boost", + "score": 0.1516338735818863 + } + }, + "else": { + "operation": "boost", + "score": 0.0441141352057457 + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.08934856206178665 + }, + "else": { + "operation": "boost", + "score": 0.12117129564285278 + } + }, + "else": { + "operation": "boost", + "score": -0.015298519283533096 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 6.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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 85.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type" + ], + "then": { + "operation": "boost", + "score": 0.11956223845481873 + }, + "else": { + "operation": "boost", + "score": 0.04476087912917137 + } + }, + "else": { + "operation": "boost", + "score": -0.07478226721286774 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": -0.01585126854479313 + }, + "else": { + "operation": "boost", + "score": -0.11804357916116714 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "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.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 + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.007315353490412235 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.007411640603095293 + }, + "else": { + "operation": "boost", + "score": 0.05555541813373566 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.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" + ], + "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.08396770805120468 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.02915484458208084 + }, + "else": { + "operation": "boost", + "score": 0.12990590929985046 + } + } + }, + "else": { + "operation": "boost", + "score": -0.10485449433326721 + } + }, + "else": { + "operation": "boost", + "score": 0.06475850939750671 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.05149193853139877 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 532.0, + "then": { + "operation": "boost", + "score": -0.14778229594230652 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": -0.04443895071744919 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": 0.08881407976150513 + }, + "else": { + "operation": "boost", + "score": 0.11076921969652176 + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.11223907768726349 + }, + "else": { + "operation": "boost", + "score": 0.0787709429860115 + } + } + } + } + }, + "else": { + "operation": "boost", + "score": 0.03779182583093643 + } + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "SemaSaysInScope", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "boost", + "score": 0.04028531536459923 + }, + "else": { + "operation": "if_greater", + "feature": "IsInBaseClass", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.10261423885822296 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "boost", + "score": 0.09823393076658249 + }, + "else": { + "operation": "boost", + "score": 0.10200445353984833 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.06279206275939941 + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.006930517964065075 + }, + "else": { + "operation": "boost", + "score": 0.11254546791315079 + } + }, + "else": { + "operation": "boost", + "score": -0.06503549963235855 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Namespace" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": 0.04182294383645058 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.043557070195674896 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 260.5, + "then": { + "operation": "boost", + "score": 0.1165507510304451 + }, + "else": { + "operation": "boost", + "score": -0.1217743307352066 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10838422924280167 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 249796.0, + "then": { + "operation": "boost", + "score": -3.509140968322754 + }, + "else": { + "operation": "boost", + "score": -0.13479243218898773 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 19.0, + "then": { + "operation": "boost", + "score": 0.14619822800159454 + }, + "else": { + "operation": "boost", + "score": 0.1298186182975769 + } + } + }, + "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": 166.5, + "then": { + "operation": "boost", + "score": 0.10453925281763077 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.10787113010883331 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.10832652449607849 + }, + "else": { + "operation": "boost", + "score": 0.04908998683094978 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.09015461057424545 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 16.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 17.5, + "then": { + "operation": "boost", + "score": 0.04081786423921585 + }, + "else": { + "operation": "boost", + "score": -0.0620359405875206 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.039887089282274246 + }, + "else": { + "operation": "boost", + "score": 0.09683127701282501 + } + } + } + } + }, + "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 + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.11753398925065994 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0038640755228698254 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 292981.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 297177.5, + "then": { + "operation": "boost", + "score": 0.06078234314918518 + }, + "else": { + "operation": "boost", + "score": 0.26779523491859436 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_SymbolOrNewName", + "CCC_Expression" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Function" + ], + "then": { + "operation": "boost", + "score": 0.017267553135752678 + }, + "else": { + "operation": "boost", + "score": -0.13526087999343872 + } + }, + "else": { + "operation": "boost", + "score": 0.04948605224490166 + } + }, + "else": { + "operation": "boost", + "score": 0.05942835286259651 + } + }, + "else": { + "operation": "boost", + "score": 0.015137473121285439 + } + }, + "else": { + "operation": "boost", + "score": -0.04648137465119362 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 159339.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "ClassScope", + "FunctionScope", + "FileScope" + ], + "then": { + "operation": "boost", + "score": 0.06189456209540367 + }, + "else": { + "operation": "boost", + "score": -0.05560041964054108 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 140040.0, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "FileScope" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 15.0, + "then": { + "operation": "boost", + "score": 0.10277760028839111 + }, + "else": { + "operation": "boost", + "score": -0.14330238103866577 + } + }, + "else": { + "operation": "boost", + "score": 0.048671189695596695 + } + }, + "else": { + "operation": "boost", + "score": -0.0007683985168114305 + } + } + } + } + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 115.5, + "then": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 1232.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.1279871165752411 + }, + "else": { + "operation": "boost", + "score": 0.10554981231689453 + } + }, + "else": { + "operation": "boost", + "score": -0.11134990304708481 + } + }, + "else": { + "operation": "boost", + "score": -0.053872331976890564 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 110.5, + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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, + "then": { + "operation": "boost", + "score": 0.0374097041785717 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 2.0, + "then": { + "operation": "boost", + "score": 0.1245357096195221 + }, + "else": { + "operation": "boost", + "score": -0.24930833280086517 + } + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "boost", + "score": -0.005464901216328144 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "TypeMatchesPreferred", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 113.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09227430075407028 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": 0.06934447586536407 + }, + "else": { + "operation": "boost", + "score": -0.8915966153144836 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30.5, + "then": { + "operation": "boost", + "score": -0.35361048579216003 + }, + "else": { + "operation": "boost", + "score": -0.006201496813446283 + } + } + }, + "else": { + "operation": "boost", + "score": 0.029847804456949234 + } + }, + "else": { + "operation": "boost", + "score": 0.010665380395948887 + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Type", + "CCC_ClassOrStructTag", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.0991128459572792 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.11176298558712006 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.02468740940093994 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.09654494374990463 + }, + "else": { + "operation": "boost", + "score": 0.013483173213899136 + } + } + } + } + }, + "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" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 14.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.09740372747182846 + }, + "else": { + "operation": "boost", + "score": -1.8209373950958252 + } + }, + "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.02606002427637577 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 183.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 188.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "boost", + "score": -0.14234520494937897 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.0, + "then": { + "operation": "boost", + "score": 0.09896469861268997 + }, + "else": { + "operation": "boost", + "score": -0.16538415849208832 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10035879909992218 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 5.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 22.5, + "then": { + "operation": "boost", + "score": -0.11987710744142532 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 20.5, + "then": { + "operation": "boost", + "score": 0.20290762186050415 + }, + "else": { + "operation": "boost", + "score": 0.04485011845827103 + } + } + }, + "else": { + "operation": "boost", + "score": 0.10962558537721634 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 109.5, + "then": { + "operation": "boost", + "score": -0.3529354929924011 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 107.5, + "then": { + "operation": "boost", + "score": 0.07539977133274078 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.0789945051074028 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": -0.07700594514608383 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 35.5, + "then": { + "operation": "boost", + "score": 0.06308688968420029 + }, + "else": { + "operation": "boost", + "score": 0.11153081059455872 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 65.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 75.0, + "then": { + "operation": "boost", + "score": -0.34638580679893494 + }, + "else": { + "operation": "boost", + "score": 0.14289557933807373 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 40.5, + "then": { + "operation": "boost", + "score": -0.5573278069496155 + }, + "else": { + "operation": "boost", + "score": -0.11614590138196945 + } + } + } + } + } + } + } + }, + "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 + } + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 11.0, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 9994.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 13459.0, + "then": { + "operation": "boost", + "score": 0.013948659412562847 + }, + "else": { + "operation": "boost", + "score": 0.11430877447128296 + } + }, + "else": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 943.0, + "then": { + "operation": "boost", + "score": 0.08880746364593506 + }, + "else": { + "operation": "boost", + "score": 0.012053284794092178 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.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, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "boost", + "score": -0.07331984490156174 + }, + "else": { + "operation": "boost", + "score": 0.06803363561630249 + } + }, + "else": { + "operation": "boost", + "score": -0.17652738094329834 + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 3.0, + "then": { + "operation": "boost", + "score": 0.07209954410791397 + }, + "else": { + "operation": "boost", + "score": 0.015975838527083397 + } + } + }, + "else": { + "operation": "boost", + "score": -0.04527975246310234 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 25.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 89.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 199.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.20531262457370758 + }, + "else": { + "operation": "boost", + "score": 0.12099525332450867 + } + }, + "else": { + "operation": "boost", + "score": -0.2646714746952057 + } + }, + "else": { + "operation": "boost", + "score": 0.1018257886171341 + } + }, + "else": { + "operation": "boost", + "score": -0.12197772413492203 + } + }, + "else": { + "operation": "boost", + "score": 0.09274070709943771 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 20.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 21.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 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 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.06871981918811798 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 7.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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 10.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 264.5, + "then": { + "operation": "boost", + "score": 0.0866006389260292 + }, + "else": { + "operation": "boost", + "score": 0.011640106327831745 + } + }, + "else": { + "operation": "boost", + "score": 0.09725090116262436 + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": -0.015241311863064766 + }, + "else": { + "operation": "boost", + "score": 0.09835947304964066 + } + }, + "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": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 24563.5, + "then": { + "operation": "boost", + "score": 0.0770215392112732 + }, + "else": { + "operation": "boost", + "score": -0.018895607441663742 + } + }, + "else": { + "operation": "boost", + "score": 0.014071385376155376 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.03959733247756958 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.10670813918113708 + }, + "else": { + "operation": "boost", + "score": 0.09476127475500107 + } + }, + "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": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.0017221674788743258 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "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_UnionTag", + "CCC_Other", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.07501614093780518 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 12.5, + "then": { + "operation": "boost", + "score": 0.1865541785955429 + }, + "else": { + "operation": "boost", + "score": -0.21952565014362335 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.0, + "then": { + "operation": "boost", + "score": 0.1044297143816948 + }, + "else": { + "operation": "boost", + "score": -0.03061513788998127 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.03349294513463974 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.031546518206596375 + }, + "else": { + "operation": "boost", + "score": -0.0689607560634613 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.05105879530310631 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.02998226508498192 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 24.5, + "then": { + "operation": "boost", + "score": 0.013735584914684296 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.30000001192092896, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.006702962331473827 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 22.5, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.0028683829586952925 + }, + "else": { + "operation": "boost", + "score": 0.10236445814371109 + } + }, + "else": { + "operation": "boost", + "score": 0.07197637110948563 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 5.0, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.0, + "then": { + "operation": "boost", + "score": 0.13549955189228058 + }, + "else": { + "operation": "boost", + "score": 0.23368658125400543 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 23.5, + "then": { + "operation": "boost", + "score": 0.0977807343006134 + }, + "else": { + "operation": "boost", + "score": -0.04547186940908432 + } + } + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement", + "CCC_Expression" + ], + "then": { + "operation": "boost", + "score": 0.1253391057252884 + }, + "else": { + "operation": "boost", + "score": 0.07980315387248993 + } + } + }, + "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": { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_TopLevel" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 13.5, + "then": { + "operation": "boost", + "score": 0.11262444406747818 + }, + "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, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.5, + "then": { + "operation": "boost", + "score": 0.052900321781635284 + }, + "else": { + "operation": "boost", + "score": -0.03999650105834007 + } + }, + "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, + "then": { + "operation": "boost", + "score": -0.19749340415000916 + }, + "else": { + "operation": "boost", + "score": -0.04503856599330902 + } + }, + "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" + ], + "then": { + "operation": "boost", + "score": 0.03850923106074333 + }, + "else": { + "operation": "boost", + "score": -0.02977728471159935 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 7.0, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.12122467160224915 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 9.0, + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.042358674108982086 + }, + "else": { + "operation": "boost", + "score": -0.5476294755935669 + } + }, + "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 + } + } + } + } + }, + "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": 14.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 6.5, + "then": { + "operation": "boost", + "score": 0.08048024028539658 + }, + "else": { + "operation": "boost", + "score": 0.15995019674301147 + } + }, + "else": { + "operation": "boost", + "score": 0.08856014907360077 + } + }, + "else": { + "operation": "boost", + "score": -0.055917203426361084 + } + }, + "else": { + "operation": "boost", + "score": 0.0003489040827844292 + } + } + } + } + } + } + } + }, + "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": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 14.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" + ], + "then": { + "operation": "boost", + "score": -0.0025171677116304636 + }, + "else": { + "operation": "boost", + "score": -0.08412779122591019 + } + }, + "else": { + "operation": "boost", + "score": -0.0006872338708490133 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.13180354237556458 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_ClassStructUnion", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 630.5, + "then": { + "operation": "boost", + "score": 0.11901829391717911 + }, + "else": { + "operation": "boost", + "score": 0.210386723279953 + } + }, + "else": { + "operation": "boost", + "score": 0.0025190655142068863 + } + } + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 9.5, + "then": { + "operation": "boost", + "score": -0.020971717312932014 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Symbol", + "CCC_ParenthesizedExpression" + ], + "then": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 4.5, + "then": { + "operation": "boost", + "score": 0.020292792469263077 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.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" + ], + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.22493872046470642 + }, + "else": { + "operation": "boost", + "score": 0.1196954995393753 + } + }, + "else": { + "operation": "boost", + "score": -0.16094687581062317 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.002551162615418434 + } + } + } + } + } + } + }, + "else": { "operation": "boost", - "score": 3.0 + "score": -0.0003085901844315231 + } + }, + { + "operation": "if_greater", + "feature": "SemaFileProximityScore", + "threshold": 0.800000011920929, + "then": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope", + "FunctionScope" + ], + "then": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable", + "Type", + "Function" + ], + "then": { + "operation": "if_greater", + "feature": "HadSymbolType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "if_greater", + "feature": "IsReservedName", + "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.014313936233520508 + }, + "else": { + "operation": "boost", + "score": 0.08316528052091599 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 8.5, + "then": { + "operation": "boost", + "score": 0.0004970754380337894 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": 0.0998448058962822 + }, + "else": { + "operation": "boost", + "score": -0.3098530173301697 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 3.5, + "then": { + "operation": "boost", + "score": -0.11404494941234589 + }, + "else": { + "operation": "boost", + "score": 0.10446009039878845 + } + }, + "else": { + "operation": "boost", + "score": 0.11462706327438354 + } + } + }, + "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": "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 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.044551651924848557 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 6.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0002452133921906352 + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.006592861842364073 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 30340.5, + "then": { + "operation": "boost", + "score": -0.007901876233518124 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "boost", + "score": 0.020451802760362625 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26168.5, + "then": { + "operation": "boost", + "score": 0.12375427037477493 + }, + "else": { + "operation": "boost", + "score": 0.07113901525735855 + } + } + } + } + } + }, + "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 + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 3.5, + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 7.5, + "then": { + "operation": "boost", + "score": -0.05357293412089348 + }, + "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 + } + } + } + } + }, + "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 + } + } + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": -0.03046177513897419 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.08597023040056229 + }, + "else": { + "operation": "boost", + "score": 0.027629805728793144 + } + } + } + } + } + } + } + }, + "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": 9.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 10.5, + "then": { + "operation": "boost", + "score": -0.11035280674695969 + }, + "else": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_Statement" + ], + "then": { + "operation": "boost", + "score": 0.10260619223117828 + }, + "else": { + "operation": "boost", + "score": 0.03466727212071419 + } + } + }, + "else": { + "operation": "boost", + "score": -0.007495824713259935 + } + } + }, + "else": { + "operation": "boost", + "score": -0.11239519715309143 + } + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Type" + ], + "then": { + "operation": "if_member", + "feature": "ContextKind", + "set": [ + "CCC_EnumTag", + "CCC_Statement", + "CCC_ClassOrStructTag" + ], + "then": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": -0.5, + "then": { + "operation": "boost", + "score": 0.03905633091926575 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 69564.0, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 150649.0, + "then": { + "operation": "boost", + "score": -0.0583905391395092 + }, + "else": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.05346979573369026 + }, + "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 + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 167.5, + "then": { + "operation": "boost", + "score": -0.05382755771279335 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 87.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 98.5, + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 4.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 132.5, + "then": { + "operation": "boost", + "score": 0.11687815189361572 + }, + "else": { + "operation": "boost", + "score": -0.04928437992930412 + } + }, + "else": { + "operation": "boost", + "score": -0.0608711764216423 + } + }, + "else": { + "operation": "boost", + "score": 0.11503217369318008 + } + }, + "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, + "then": { + "operation": "boost", + "score": 0.1885674148797989 + }, + "else": { + "operation": "boost", + "score": 0.1208353266119957 + } + }, + "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, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 26817.0, + "then": { + "operation": "boost", + "score": -0.050284795463085175 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 23993.5, + "then": { + "operation": "boost", + "score": 0.11696711927652359 + }, + "else": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 21097.0, + "then": { + "operation": "boost", + "score": -0.10540341585874557 + }, + "else": { + "operation": "boost", + "score": 0.10914534330368042 + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.022960200905799866 + } + }, + "else": { + "operation": "boost", + "score": -0.0014585170429199934 + } + } + } + }, + "else": { + "operation": "if_member", + "feature": "Scope", + "set": [ + "GlobalScope" + ], + "then": { + "operation": "if_greater", + "feature": "FilterLength", + "threshold": 2.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 11877.5, + "then": { + "operation": "if_greater", + "feature": "NumReferences", + "threshold": 12625.5, + "then": { + "operation": "boost", + "score": 0.03925085812807083 + }, + "else": { + "operation": "boost", + "score": 0.09567585587501526 + } + }, + "else": { + "operation": "boost", + "score": -0.02369404211640358 + } + }, + "else": { + "operation": "boost", + "score": 0.06442707777023315 + } + }, + "else": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.1121983677148819 + }, + "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 + } + } + } + } + }, + "else": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.004739707335829735 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Operator", + "Variable", + "Destructor", + "Namespace", + "Unknown", + "Keyword", + "Macro", + "Constructor", + "Type" + ], + "then": { + "operation": "boost", + "score": -0.001706857467070222 + }, + "else": { + "operation": "boost", + "score": -0.06774544715881348 + } + } + } + } + } + }, + "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", + "set": [ + "CCC_Statement", + "CCC_Symbol" + ], + "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 + }, + "else": { + "operation": "boost", + "score": -0.5695374608039856 + } + }, + "else": { + "operation": "boost", + "score": -0.017780816182494164 + } + }, + "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.05318981409072876 + }, + "else": { + "operation": "boost", + "score": 0.013902058824896812 + } + }, + "else": { + "operation": "boost", + "score": 0.004509645979851484 + } + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 18.5, + "then": { + "operation": "boost", + "score": -0.005063479766249657 + }, + "else": { + "operation": "if_greater", + "feature": "IsImplementationDetail", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": 0.0999651849269867 + }, + "else": { + "operation": "if_member", + "feature": "SymbolCategory", + "set": [ + "Variable" + ], + "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, + "then": { + "operation": "boost", + "score": -0.0947282537817955 + }, + "else": { + "operation": "if_greater", + "feature": "FileProximityDistance", + "threshold": 8.5, + "then": { + "operation": "if_greater", + "feature": "IsNameInContext", + "threshold": 0.5, + "then": { + "operation": "if_greater", + "feature": "HadContextType", + "threshold": 0.5, + "then": { + "operation": "boost", + "score": -0.10475878417491913 + }, + "else": { + "operation": "if_greater", + "feature": "SymbolScopeDistance", + "threshold": 1.5, + "then": { + "operation": "boost", + "score": 0.11926954239606857 + }, + "else": { + "operation": "boost", + "score": 0.10430911183357239 + } + } + }, + "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 + } + } + }, + "else": { + "operation": "boost", + "score": 0.012279434129595757 + } + } + } + } + } + } + } + } + }, + "else": { + "operation": "boost", + "score": -0.017639826983213425 + } + } }, "else": { "operation": "boost", - "score": 1.0 + "score": -0.00039527288754470646 } } ] \ No newline at end of file